X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/utils/blobdiff_plain/da0f85221585b50ae3b0de9fe2bec523acf60946..8a48d402ca6948144107b6e3bc857d90155bf4cb:/multi/Makefile diff --git a/multi/Makefile b/multi/Makefile index 51b171d..dbd057a 100644 --- a/multi/Makefile +++ b/multi/Makefile @@ -1,7 +1,21 @@ +DESTDIR = . + all: multi.1 %.1: %.but halibut --man=$@ $< clean: - rm -f *.1 + rm -f *.1 *.html *.tar.gz + +html: + halibut --html=$(DESTDIR)/multi.html multi.but + +release: multi.1 + mkdir -p reltmp/multi + ln -s ../../multi reltmp/multi + ln -s ../../multi.1 reltmp/multi + ln -s ../../multi.but reltmp/multi + ln -s ../../Makefile reltmp/multi + tar -C reltmp -chzvf $(DESTDIR)/multi.tar.gz multi + rm -rf reltmp