aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-05-07 04:42:34 -0400
committerB. Watson <yalhcru@gmail.com>2020-05-07 04:42:34 -0400
commitf8a072dfc63065a134268fbc0a75a1eff02294fe (patch)
tree3f8b613fc3f44620a4f9352c7d6c909aedca3e34 /Makefile
parent1aba77a39dea8fe7372ca6406eb870e61e27941a (diff)
downloadmiragextract-f8a072dfc63065a134268fbc0a75a1eff02294fe.tar.gz
add a bunch of options, make sndfile work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 18 insertions, 1 deletions
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