Introduction
Introduction Statistics Contact Development Disclaimer Help
dist target: add config.cfg, print.css and templates and pages examples - saait…
git clone git://git.codemadness.org/saait
Log
Files
Refs
README
LICENSE
---
commit 5e57d36c6f70c3c8a1233a2276e51a89fad910d4
parent 555babcde8249eea662865995c5f955576c7a2a9
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 26 May 2018 12:31:33 +0200
dist target: add config.cfg, print.css and templates and pages examples
Diffstat:
M Makefile | 10 ++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -29,7 +29,10 @@ dist:
mkdir -p ${NAME}-${VERSION}
cp -f ${MAN1} ${HDR} ${SRC} ${DOC} \
Makefile config.mk \
+ config.cfg print.css style.css \
${NAME}-${VERSION}
+ # pages and templates examples.
+ cp -rf pages templates ${NAME}-${VERSION}
# make tarball
tar -cf - ${NAME}-${VERSION} | \
gzip -c > ${NAME}-${VERSION}.tar.gz
@@ -52,9 +55,12 @@ install: all
mkdir -p ${DESTDIR}${PREFIX}/share/${NAME}
cp -f \
README\
+ print.css\
style.css\
config.cfg\
${DESTDIR}${PREFIX}/share/${NAME}
+ # pages and templates examples.
+ cp -rf pages templates ${DESTDIR}${PREFIX}/share/${NAME}
# installing manual pages.
mkdir -p ${DESTDIR}${MANPREFIX}/man1
cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1
@@ -66,8 +72,12 @@ uninstall:
# removing example files.
rm -f \
${DESTDIR}${PREFIX}/share/${NAME}/README\
+ ${DESTDIR}${PREFIX}/share/${NAME}/print.css\
${DESTDIR}${PREFIX}/share/${NAME}/style.css\
${DESTDIR}${PREFIX}/share/${NAME}/config.cfg
+ # pages and templates examples.
+ rm -rf ${DESTDIR}${PREFIX}/share/${NAME}/templates \
+ ${DESTDIR}${PREFIX}/share/${NAME}/pages
-rmdir ${DESTDIR}${PREFIX}/share/${NAME}
# removing manual pages.
for m in ${MAN1}; do rm -f ${DESTDIR}${MANPREFIX}/man1/$$m; done
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.