commit e451b0bf1d25b5389ed64faadb771d083dbcb628
parent 6f7d23c5ea7137301e7302fe1123d7d2eef98d94
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 6 Jan 2016 11:24:29 +0100
improve Makefile
dist: add favicon.png, config.def.h and example.sh
install: install favicon.png and example.sh
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -31,8 +31,9 @@ dist: $(BIN)
rm -rf release/${VERSION}
mkdir -p release/${VERSION}
cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \
- Makefile config.mk \
- logo.png style.css \
+ Makefile config.def.h config.mk \
+ favicon.png logo.png style.css \
+ example.sh \
release/${VERSION}/
# make tarball
rm -f stagit-${VERSION}.tar.gz
@@ -62,7 +63,9 @@ install: all
# installing example files.
mkdir -p ${DESTDIR}${PREFIX}/share/${NAME}
cp -f style.css\
+ favicon.png\
logo.png\
+ example.sh\
README\
${DESTDIR}${PREFIX}/share/${NAME}
# installing manual pages.
@@ -76,7 +79,9 @@ uninstall:
# removing example files.
rm -f \
${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}/README
-rmdir ${DESTDIR}${PREFIX}/share/${NAME}
# removing manual pages.