summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-07-30 17:21:42 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-07-30 17:21:42 +0200
commitbdcf38baa40fd508a9b890afb0a75e53f0819a37 (patch)
treed4fd460f3db7bffeed00e0bf291a23e7fc40ce64 /Makefile
parent4e307d3076d88b0a8e096e23df8c78077542ab3e (diff)
improve example scripts, add to build (Makefile)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b4ea03c..2423dda 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ dist:
mkdir -p ${NAME}-${VERSION}
cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \
Makefile config.mk favicon.png logo.png style.css \
- example.sh \
+ example_create.sh example_post-receive.sh \
${NAME}-${VERSION}
# make tarball
tar -cf - ${NAME}-${VERSION} | \
@@ -68,7 +68,8 @@ install: all
cp -f style.css\
favicon.png\
logo.png\
- example.sh\
+ example_create.sh\
+ example_post-receive.sh\
README\
${DESTDIR}${PREFIX}/share/${NAME}
# installing manual pages.
@@ -84,7 +85,8 @@ uninstall:
${DESTDIR}${PREFIX}/share/${NAME}/style.css\
${DESTDIR}${PREFIX}/share/${NAME}/favicon.png\
${DESTDIR}${PREFIX}/share/${NAME}/logo.png\
- ${DESTDIR}${PREFIX}/share/${NAME}/example.sh\
+ ${DESTDIR}${PREFIX}/share/${NAME}/example_create.sh\
+ ${DESTDIR}${PREFIX}/share/${NAME}/example_post-receive.sh\
${DESTDIR}${PREFIX}/share/${NAME}/README
-rmdir ${DESTDIR}${PREFIX}/share/${NAME}
# removing manual pages.