saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 5e57d36c6f70c3c8a1233a2276e51a89fad910d4
parent 555babcde8249eea662865995c5f955576c7a2a9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 26 May 2018 12:31:33 +0200

dist target: add config.cfg, print.css and templates and pages examples

Diffstat:
MMakefile | 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