add a man page
[rrq/newlisp/packnl.git] / Makefile
index 3c81875b1860fb0a3acee564f132de75e286ddcd..174de1fd6c437862f4f1d1b62533d83e97bd8ba3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
+all: packnl packnl.8
+
 packnl: packnl.lsp incore.lsp main-args.lsp
        newlisp -x incore.lsp $@
        chmod a+x $@
        echo 'xxxxxxxxxxxxxxxxxxxxxx''xxxxxxxxxxxxxxxxxx' >> $@
        for F in $^ ; do echo "$$F\n$$(stat -c %s $$F)" ; cat $$F ; done >> $@
+
+packnl.8: packnl.8.adoc
+       a2x -d manpage -f manpage $V $^