stagit

My personal build of stagit

commit 093c5ab67e04936e91e44d0bf94f2bf4d148198f
parent d61cbfa5b6787035bcb69b046a071c8de06210ef
Author: Pablo <pablo-escobar@riseup.net>
Date:   Sat, 27 Mar 2021 13:40:20 +0000

Updated the Makefile

Diffstat:
MMakefile | 22++++------------------
1 file changed, 4 insertions(+), 18 deletions(-)
diff --git a/Makefile b/Makefile
@@ -52,10 +52,7 @@ all: ${BIN}
 dist:
 	rm -rf ${NAME}-${VERSION}
 	mkdir -p ${NAME}-${VERSION}
-	cp -f ${MAN1} ${HDR} ${SRC} ${COMPATSRC} ${DOC} \
-		Makefile favicon.png logo.png style.css \
-		example_create.sh example_post-receive.sh \
-		${NAME}-${VERSION}
+	cp -f ${MAN1} ${HDR} ${SRC} ${COMPATSRC} ${DOC} Makefile ${NAME}-${VERSION}
 	# make tarball
 	tar -cf - ${NAME}-${VERSION} | \
 		gzip -c > ${NAME}-${VERSION}.tar.gz
@@ -77,15 +74,9 @@ install: all
 	mkdir -p ${DESTDIR}${PREFIX}/bin
 	cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
 	for f in ${BIN}; do chmod 755 ${DESTDIR}${PREFIX}/bin/$$f; done
-	# installing example files.
+	# installing the README
 	mkdir -p ${DESTDIR}${DOCPREFIX}
-	cp -f style.css\
-		favicon.png\
-		logo.png\
-		example_create.sh\
-		example_post-receive.sh\
-		README\
-		${DESTDIR}${DOCPREFIX}
+	cp -f README ${DESTDIR}${DOCPREFIX}
 	# installing manual pages.
 	mkdir -p ${DESTDIR}${MANPREFIX}/man1
 	cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1
@@ -94,13 +85,8 @@ install: all
 uninstall:
 	# removing executable files.
 	for f in ${BIN}; do rm -f ${DESTDIR}${PREFIX}/bin/$$f; done
-	# removing example files.
+	# removing README.
 	rm -f \
-		${DESTDIR}${DOCPREFIX}/style.css\
-		${DESTDIR}${DOCPREFIX}/favicon.png\
-		${DESTDIR}${DOCPREFIX}/logo.png\
-		${DESTDIR}${DOCPREFIX}/example_create.sh\
-		${DESTDIR}${DOCPREFIX}/example_post-receive.sh\
 		${DESTDIR}${DOCPREFIX}/README
 	-rmdir ${DESTDIR}${DOCPREFIX}
 	# removing manual pages.