diff options
author | June McEnroe <june@causal.agency> | 2019-10-26 00:35:31 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-26 00:35:31 -0400 |
commit | 2621dc248cdc71034495a41cd388de105d6f6b1a (patch) | |
tree | 8e0db6f1d4f5369f728c4043647d0422032e343c /Makefile | |
parent | Add install and uninstall targets (diff) | |
download | pounce-2621dc248cdc71034495a41cd388de105d6f6b1a.tar.gz pounce-2621dc248cdc71034495a41cd388de105d6f6b1a.zip |
Add rc script
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 6889107..f208e25 100644 --- a/Makefile +++ b/Makefile @@ -29,10 +29,11 @@ tags: *.c *.h clean: rm -f tags pounce ${OBJS} -install: pounce pounce.1 - install -d ${PREFIX}/bin ${MANDIR}/man1 +install: pounce pounce.1 rc.pounce + install -d ${PREFIX}/bin ${MANDIR}/man1 ${PREFIX}/etc/rc.d install pounce ${PREFIX}/bin install -m 644 pounce.1 ${MANDIR}/man1 + install rc.pounce ${PREFIX}/etc/rc.d/pounce uninstall: - rm -f ${PREFIX}/bin/pounce ${MANDIR}/man1/pounce.1 + rm -f ${PREFIX}/bin/pounce ${MANDIR}/man1/pounce.1 ${PREFIX}/etc/rc.d/pounce |