diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -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 |