From 4c097facc3829f9a92e3aff687b0445ee4f7810d Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Tue, 9 Jul 2024 12:50:12 +0200 Subject: Rename DEST variable to INSTALL_DIR --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fedfab2..1b17b9a 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ include config.mk all: ${OBJ} -install: all +install: all ${INSTALL_DIR} mkdir -p ${DEST} find . -name "*.html" -exec tar -rvf ${ARCHIVE} {} \; cp ip.php ${DEST}/ @@ -29,13 +29,16 @@ install: all cp search/index.cgi ${DEST}/search/ cp search/.htaccess ${DEST}/search/ +${INSTALL_DIR}: + mkdir -p $@ + deploy: for i in `find * -name "*.html"`; do echo $i | sed "s/`basename $i`//"; done clean: rm -f ${OBJ} ${ARCHIVE} + rm -rf ${INSTALL_DIR} find -E * -regex ".*\.(trhtml|tmp)" -exec rm -f {} \; - rm -rf ${DEST}/* .rhtml.html .rphp.php: navigation.rhtml.inc master.rhtml ${HYDE} -b ${BASEHREF} -f $< > $@ -- cgit v1.2.3