Makefile: add new example - stagit-gopher - A git gopher frontend. (mirror) | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 3e73fa29e2ad40ec7d91318a83cbbedb8321e8bb | |
parent 8dde93c6f9887d8a69ce60d528970848c01abb3d | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 15 Jul 2017 13:01:12 +0200 | |
Makefile: add new example | |
Diffstat: | |
M Makefile | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -39,7 +39,7 @@ dist: | |
mkdir -p ${NAME}-${VERSION} | |
cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \ | |
Makefile config.mk \ | |
- example.sh \ | |
+ example_create.sh example_post-receive.sh \ | |
${NAME}-${VERSION} | |
# make tarball | |
tar -cf - ${NAME}-${VERSION} | \ | |
@@ -65,6 +65,7 @@ install: all | |
# installing example files. | |
mkdir -p ${DESTDIR}${PREFIX}/share/${NAME} | |
cp -f example.sh\ | |
+ example_post-receive.sh\ | |
README\ | |
${DESTDIR}${PREFIX}/share/${NAME} | |
# installing manual pages. | |
@@ -78,6 +79,7 @@ uninstall: | |
# removing example files. | |
rm -f \ | |
${DESTDIR}${PREFIX}/share/${NAME}/example.sh\ | |
+ ${DESTDIR}${PREFIX}/share/${NAME}/example_post-receive.sh\ | |
${DESTDIR}${PREFIX}/share/${NAME}/README | |
-rmdir ${DESTDIR}${PREFIX}/share/${NAME} | |
# removing manual pages. |