From a75b5b298bc9cff3ffb5cbe53336651e179dc6ec Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 27 Jul 2019 16:00:07 -0400 Subject: Rewrite port makefiles consistently --- port/file2c/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'port/file2c/Makefile') 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 -- cgit 1.4.1 ='switch'/> DON'T USE THIS! --- web frontend for git
about summary refs log tree commit diff
path: root/git (unfollow)
Commit message (Expand)Author
2014-01-08ui-log.c: Several simplificationsLukas Fleischer
2014-01-08Use argv_array in place of vectorLukas Fleischer
2014-01-08ui-stats.c: Remove unused macroLukas Fleischer
2014-01-08scan-tree.c: Remove unused macroLukas Fleischer
2013-09-14ui-shared: Drop filepair_cb_raw() and helperLukas Fleischer
2013-09-14ui-diff: Use diff_tree_sha1() for raw diff formattingLukas Fleischer