]> git.armaanb.net Git - stagit.git/commitdiff
Makefile: remove unused $SCRIPTS
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 11 Nov 2017 00:34:50 +0000 (01:34 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 11 Nov 2017 00:34:50 +0000 (01:34 +0100)
Makefile

index eef16042d9c093ad5f11a57f34d59690453c8788..705f480847b8c0a8798a6ff3653fb43b0ed01d8b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ all: ${BIN}
 dist:
        rm -rf ${NAME}-${VERSION}
        mkdir -p ${NAME}-${VERSION}
-       cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \
+       cp -f ${MAN1} ${HDR} ${SRC} ${COMPATSRC} ${DOC} \
                Makefile config.mk favicon.png logo.png style.css \
                example_create.sh example_post-receive.sh \
                ${NAME}-${VERSION}
@@ -61,8 +61,8 @@ clean:
 install: all
        # installing executable files.
        mkdir -p ${DESTDIR}${PREFIX}/bin
-       cp -f ${BIN} ${SCRIPTS} ${DESTDIR}${PREFIX}/bin
-       for f in ${BIN} ${SCRIPTS}; do chmod 755 ${DESTDIR}${PREFIX}/bin/$$f; done
+       cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
+       for f in ${BIN}; do chmod 755 ${DESTDIR}${PREFIX}/bin/$$f; done
        # installing example files.
        mkdir -p ${DESTDIR}${PREFIX}/share/${NAME}
        cp -f style.css\
@@ -78,8 +78,8 @@ install: all
        for m in ${MAN1}; do chmod 644 ${DESTDIR}${MANPREFIX}/man1/$$m; done
 
 uninstall:
-       # removing executable files and scripts.
-       for f in ${BIN} ${SCRIPTS}; do rm -f ${DESTDIR}${PREFIX}/bin/$$f; done
+       # removing executable files.
+       for f in ${BIN}; do rm -f ${DESTDIR}${PREFIX}/bin/$$f; done
        # removing example files.
        rm -f \
                ${DESTDIR}${PREFIX}/share/${NAME}/style.css\