aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2023-07-28 21:47:10 -0230
committerSam Anthony <sam@samanthony.xyz>2023-07-28 21:47:10 -0230
commitca2dd62a0264c4dbe836f6fa01c2b8e3cf2a6091 (patch)
tree6abb429fe324ddef31ffd9dd727147f34a7e0778 /Makefile
parent33653d5cda4ac2fa237a85ede2820a4771b83b47 (diff)
downloadpfc-ca2dd62a0264c4dbe836f6fa01c2b8e3cf2a6091.zip
split man page into multiple files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 35d3fd1..5494fe0 100644
--- a/Makefile
+++ b/Makefile
@@ -13,11 +13,13 @@ clean:
rm -f pfc
install:
- go build
+ go build -buildvcs=false
cp pfc ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/pfc
mkdir -p ${DESTDIR}${MANPREFIX}/man1
- sed "s/VERSION/${VERSION}/g" < pfc.1 > ${DESTDIR}${MANPREFIX}/man1/pfc.1
+ cat doc/{intro.1,cmd.1,op.1,func.1,const.1} | \
+ sed "s/VERSION/${VERSION}/g" > \
+ ${DESTDIR}${MANPREFIX}/man1/pfc.1
chmod 644 ${DESTDIR}${MANPREFIX}/man1/pfc.1
uninstall: