From d17f0ac6024dc5dd6ce5b96bedda4dcf6260716d Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Mon, 10 May 2021 19:29:42 -0400 Subject: [PATCH] Incorporate colophon into Makefile --- Makefile | 4 +++- man/toupperw.3.scd | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 613c107..fc46d4b 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,9 @@ lib: 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 diff --git a/man/toupperw.3.scd b/man/toupperw.3.scd index 885627e..28090da 100644 --- a/man/toupperw.3.scd +++ b/man/toupperw.3.scd @@ -20,6 +20,3 @@ A pointer to the converted string. # SEE ALSO toupper(3), tolower(3) - -# COLOPHON -This page is a part of libacheam(3). -- 2.39.2