summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-14 17:10:10 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-14 17:10:10 +0200
commit4d4a8b6ab8f5968968af059399fe62798dba89c8 (patch)
tree011ab2759dbdffb55b2324bf2376c6c8a789eaea
parent6bc48bb27a50d711cb104d010998a1c1cee6e8d2 (diff)
Makefile: install README and README.xml, it contains useful examples
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index db3e0fd..fd51c37 100644
--- a/Makefile
+++ b/Makefile
@@ -105,8 +105,11 @@ install: all
for f in $(BIN) $(SCRIPTS); do chmod 755 ${DESTDIR}${PREFIX}/bin/$$f; done
# installing example files.
mkdir -p ${DESTDIR}${PREFIX}/share/${NAME}
- cp -f sfeedrc.example ${DESTDIR}${PREFIX}/share/${NAME}
- cp -f style.css ${DESTDIR}${PREFIX}/share/${NAME}
+ cp -f sfeedrc.example\
+ style.css\
+ README\
+ README.xml\
+ ${DESTDIR}${PREFIX}/share/${NAME}
# installing manual pages.
mkdir -p ${DESTDIR}${MANPREFIX}/man1
cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1
@@ -117,8 +120,10 @@ uninstall:
for f in $(BIN) $(SCRIPTS); do rm -f ${DESTDIR}${PREFIX}/bin/$$f; done
# removing example files.
rm -f \
- ${DESTDIR}${PREFIX}/share/${NAME}/sfeedrc.example \
- ${DESTDIR}${PREFIX}/share/${NAME}/style.css
+ ${DESTDIR}${PREFIX}/share/${NAME}/sfeedrc.example\
+ ${DESTDIR}${PREFIX}/share/${NAME}/style.css\
+ ${DESTDIR}${PREFIX}/share/${NAME}/README\
+ ${DESTDIR}${PREFIX}/share/${NAME}/README.xml
-rmdir ${DESTDIR}${PREFIX}/share/${NAME}
# removing manual pages.
for m in $(MAN1); do rm -f ${DESTDIR}${MANPREFIX}/man1/$$m; done