summary refs log tree commit diff
path: root/port/cgram
diff options
context:
space:
mode:
Diffstat (limited to 'port/cgram')
-rw-r--r--port/cgram/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/port/cgram/Makefile b/port/cgram/Makefile
index 1a0b10c1..02f11eec 100644
--- a/port/cgram/Makefile
+++ b/port/cgram/Makefile
@@ -1,3 +1,6 @@
+PREFIX = ~/.local
+MANDIR = ${PREFIX}/share/man
+
 LDLIBS = -lcurses
 
 cgram:
@@ -6,6 +9,9 @@ clean:
 	rm -f cgram
 
 install: cgram cgram.6
-	mkdir -p ~/.local/bin ~/.local/share/man/man6
-	cp cgram ~/.local/bin
-	cp cgram.6 ~/.local/share/man/man6
+	install -d ${PREFIX}/bin ${MANDIR}/man6
+	install cgram ${PREFIX}/bin
+	install -m 644 cgram.6 ${MANDIR}/man6
+
+uninstall:
+	rm -f ${PREFIX}/bin/cgram ${MANDIR}/man6/cgram.6
it/ui-stats.c?h=1.4.1&id=865afe0eb1b5e6485fe0f65472e6635266e393b1&follow=1'>git: update to v2.0.3John Keeping 2014-07-28parsing.c: make commit buffer constJohn Keeping 2014-06-30Bump version.Jason A. Donenfeld 2014-06-29remove debug fprinf() calls that sneaked in with commit 79c985Christian Hesse 2014-06-28git: update to 2.0.1Christian Hesse 2014-06-28ui-patch: Flush stdout after outputting dataJohn Keeping 2014-06-28ui-log: ignore unhandled argumentsJohn Keeping 2014-06-28git: update for git 2.0Christian Hesse 2014-04-17remove trailing whitespaces from source filesChristian Hesse 2014-04-12git: update to 1.9.2Christian Hesse 2014-04-05Fix cgit_parse_url when a repo url is contained in another repo urlJulian Maurice 2014-03-20Makefile: use more reliable git tarball mirrorJason A. Donenfeld 2014-03-20git: update to 1.9.1Christian Hesse