about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-26 00:35:31 -0400
committerJune McEnroe <june@causal.agency>2019-10-26 00:35:31 -0400
commit2621dc248cdc71034495a41cd388de105d6f6b1a (patch)
tree8e0db6f1d4f5369f728c4043647d0422032e343c /Makefile
parentAdd install and uninstall targets (diff)
downloadpounce-2621dc248cdc71034495a41cd388de105d6f6b1a.tar.gz
pounce-2621dc248cdc71034495a41cd388de105d6f6b1a.zip
Add rc script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
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