From f8a072dfc63065a134268fbc0a75a1eff02294fe Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 7 May 2020 04:42:34 -0400 Subject: add a bunch of options, make sndfile work --- Makefile | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6e9e402..96a0566 100644 --- a/Makefile +++ b/Makefile @@ -15,5 +15,22 @@ LDFLAGS=$(LDEXTRA) $(MIRAGE_LIBS) $(SNDFILE_LIBS) all: $(PROJ) +man: $(PROJ).1 + +html: $(PROJ).html + test: all - ./$(PROJ) + ./$(PROJ) test.cue + +push: all man html + git add $(PROJ).1 $(PROJ).html + git commit -m'auto-regenerate man/html pages' + git push + +$(PROJ).1: $(PROJ).rst + rst2man.py $(PROJ).rst > $(PROJ).1 + +$(PROJ).html: $(PROJ).rst + rst2html4.py $(PROJ).rst > $(PROJ).html + +.PHONY: all man html test push -- cgit v1.2.3