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
td> 2018-08-20Add dependencies on gfx.hJune McEnroe 2018-08-18Add Blondie — Heart of GlassJune McEnroe 2018-08-18Set FCEDIT=$EDITORJune McEnroe 2018-08-18Only post commits with bodies to MastodonJune McEnroe 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe 2018-08-18Cut off path components until right prompt fitsJune McEnroe 2018-08-17Add "private" alias to source encrypted fileJune McEnroe 2018-08-17Add vim mapping to add a #includeJune McEnroe