]> git.armaanb.net Git - libacheam.git/blobdiff - Makefile
Incorporate colophon into Makefile
[libacheam.git] / Makefile
index 613c1077ef7441b0ae7022dc8434fe63339abdb7..fc46d4bc755f6418c5956c8f136cadd303abc00b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,9 @@ lib:
 
 man:
        for i in man/*.scd; do \
 
 man:
        for i in man/*.scd; do \
-               scdoc < $$i > $$(echo "$$i" | rev | cut -f 2- -d '.' | rev); \
+               outp=$$(echo "$$i" | rev | cut -f 2- -d '.' | rev); \
+               scdoc < $$i > $$outp; \
+               echo ".SH COLOPHON\n This page is a part of libacheam(3).\&" >> $$outp; \
        done
 
 install: all
        done
 
 install: all