add author and revdate
[rrq/newlisp/packnl.git] / Makefile
index 3c81875b1860fb0a3acee564f132de75e286ddcd..723eef266994717c82eff3611f6070655c96d9dd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,13 @@
+all: packnl packnl.8 incore.lsp.8 main-args.lsp.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 >> $@
+
+%.8: %.8.adoc
+       asciidoctor -b manpage $^
+
+clean:
+       rm -f packnl packnl.8 incore.lsp.8