aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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: