]> git.armaanb.net Git - stagit.git/blobdiff - Makefile
fix file permissions for cachefile and respect umask(2)
[stagit.git] / Makefile
index e6f66d12da7634940f9a73623e24291b7715c7d7..eef16042d9c093ad5f11a57f34d59690453c8788 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 include config.mk
 
 NAME = stagit
-VERSION = 0.5
+VERSION = 0.6
 SRC = \
        stagit.c\
        stagit-index.c
@@ -17,8 +17,7 @@ MAN1 = \
        stagit-index.1
 DOC = \
        LICENSE\
-       README\
-       TODO
+       README
 HDR = compat.h
 
 COMPATOBJ = \
@@ -41,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} | \
@@ -69,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.
@@ -85,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.