tFix makefile/mkfile quirks - repo - list/download/sync packs with remote repositories
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit e25fbde7a78df5278bbcb634bfd694eec7b501e7
(DIR) parent ebfc5f6438f11297572ae07d75bd0fa57f1261df
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Thu, 4 May 2017 13:52:49 +0200
Fix makefile/mkfile quirks
Diffstat:
M makefile | 2 +-
M mkfile | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/makefile b/makefile
t@@ -15,7 +15,7 @@ install: repo
chmod 755 ${DESTDIR}${PREFIX}/bin/repo
mkdir -p ${DESTDIR}${MANDIR}/man1
cp repo ${DESTDIR}${MANDIR}/man1/repo.1
- chmod 755 ${DESTDIR}${MANDIR}/man1/repo.1
+ chmod 644 ${DESTDIR}${MANDIR}/man1/repo.1
uninstall:
rm ${DESTDIR}${PREFIX}/bin/repo
(DIR) diff --git a/mkfile b/mkfile
t@@ -12,10 +12,13 @@ y.tab.c: parse.y
clean:V:
rm -f y.tab.c *.o repo
-install:V: all
+install:V:
mkdir -p ${DESTDIR}${PREFIX}/bin
cp repo ${DESTDIR}${PREFIX}/bin/repo
chmod 755 ${DESTDIR}${PREFIX}/bin/repo
+ mkdir -p ${DESTDIR}${MANDIR}/man1
+ cp repo.1 ${DESTDIR}${MANDIR}/man1/repo.1
+ chmod 644 ${DESTDIR}${MANDIR}/man1/repo.1
uninstall:V:
rm ${DESTDIR}${PREFIX}/bin/repo