stagit

custom fork of stagit
Index Commits Files Refs README LICENSE
commit 870b024671694465cac79dcbc58f9a298e901fad
parent 26bd89f681b631ce3596148c9320c3208e16f8e9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 11 Nov 2017 01:34:50 +0100

Makefile: remove unused $SCRIPTS

Diffstat:
MMakefile | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git 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\