summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 11e73078..42165827 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -51,6 +51,11 @@ BINS_LINUX += psfed
 BINS_TLS += relay
 
 BINS_ALL = ${BINS} ${BINS_BSD} ${BINS_LINUX} ${BINS_TLS}
+
+MANS = ${BINS:%=man1/%.1}
+MANS_BSD = ${BINS_BSD:%=man1/%.1}
+MANS_LINUX = ${BINS_LINUX:%=man1/%.1}
+MANS_TLS = ${BINS_TLS:%=man1/%.1}
 MANS_ALL = ${BINS_ALL:%=man1/%.1}
 
 any: meta ${BINS}
@@ -117,6 +122,30 @@ unlink:
 	rm -f ${BINS_ALL:%=${PREFIX}/bin/%}
 	rm -f ${MANS_ALL:%=${MANDIR}/%}
 
+install: ${BINS} ${MANS}
+	install -d ${PREFIX}/bin ${MANDIR}/man1
+	install ${BINS} ${PREFIX}/bin
+	install -m 644 ${MANS} ${MANDIR}/man1
+
+install-bsd: ${BINS_BSD} ${MANS_BSD}
+	install -d ${PREFIX}/bin ${MANDIR}/man1
+	install ${BINS_BSD} ${PREFIX}/bin
+	install -m 644 ${MANS_BSD} ${MANDIR}/man1
+
+install-linux: ${BINS_LINUX} ${MANS_BSD}
+	install -d ${PREFIX}/bin ${MANDIR}/man1
+	install ${BINS_LINUX} ${PREFIX}/bin
+	install -m 644 ${MANS_LINUX} ${MANDIR}/man1
+
+install-tls: ${BINS_TLS} ${MANS_BSD}
+	install -d ${PREFIX}/bin ${MANDIR}/man1
+	install ${BINS_TLS} ${PREFIX}/bin
+	install -m 644 ${MANS_TLS} ${MANDIR}/man1
+
+uninstall:
+	rm -f ${BINS_ALL:%=${PREFIX}/bin/%}
+	rm -f ${MANS_ALL:%=${MANDIR}/%}
+
 HTMLS = index.html ${BINS_ALL:=.html} png.html
 WEBROOT = /usr/local/www/causal.agency
 
0-02-23Add This Is How You Lose the Time WarJune McEnroe 2020-02-22Add See Ya LaterJune McEnroe 2020-02-20Remove wiki scriptJune McEnroe 2020-02-19Add The Obelisk GateJune McEnroe 2020-02-17Add Four Tet — HandsJune McEnroe 2020-02-12Simplify macOS notify-sendJune McEnroe 2020-02-12Add imbox and notemap to pageJune McEnroe 2020-02-12Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe 2020-01-28Change scout sensitivity to 1.4June McEnroe 2020-01-28Import shows.txtJune McEnroe