summary refs log tree commit diff
path: root/port/file2c/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-27 16:00:07 -0400
committerJune McEnroe <june@causal.agency>2019-07-27 16:00:07 -0400
commita75b5b298bc9cff3ffb5cbe53336651e179dc6ec (patch)
tree4b22aca2a0e4d2d9734266f8bd047f02fb9d146a /port/file2c/Makefile
parentRewrite Makefile once more with more organization (diff)
downloadsrc-a75b5b298bc9cff3ffb5cbe53336651e179dc6ec.tar.gz
src-a75b5b298bc9cff3ffb5cbe53336651e179dc6ec.zip
Rewrite port makefiles consistently
Diffstat (limited to 'port/file2c/Makefile')
-rw-r--r--port/file2c/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/port/file2c/Makefile b/port/file2c/Makefile
index 5917b82d..09f6b5d0 100644
--- a/port/file2c/Makefile
+++ b/port/file2c/Makefile
@@ -1,9 +1,15 @@
+PREFIX = ~/.local
+MANDIR = ${PREFIX}/share/man
+
 file2c:
 
 clean:
 	rm -f file2c
 
 install: file2c file2c.1
-	mkdir -p ~/.local/bin ~/.local/share/man/man1
-	cp file2c ~/.local/bin
-	cp file2c.1 ~/.local/share/man/man1
+	install -d ${PREFIX}/bin ${MANDIR}/man1
+	install file2c ${PREFIX}/bin
+	install -m 644 file2c.1 ${MANDIR}/man1
+
+uninstall:
+	rm -f ${PREFIX}/bin/file2c ${MANDIR}/man1/file2c.1
400'>2024-10-07Add photos from September 28June McEnroe 2024-10-07Add photos from September 22June McEnroe 2024-09-25Add photos from September 15June McEnroe 2024-09-24Add photos from September 14June McEnroe 2024-09-24Add photos from September 12June McEnroe 2024-09-24Add photos from September 7June McEnroe 2024-09-24Allow not having descriptionsJune McEnroe 2024-09-23Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe