diff options
author | 2024-07-09 12:50:12 +0200 | |
---|---|---|
committer | 2024-07-09 12:50:12 +0200 | |
commit | 4c097facc3829f9a92e3aff687b0445ee4f7810d (patch) | |
tree | fc638a443acb37bb6fc25d68f0530c8e43e7ec7b | |
parent | c1f02207c29cd7b97d64a3019481b23696530dea (diff) | |
download | website-4c097facc3829f9a92e3aff687b0445ee4f7810d.tar.gz website-4c097facc3829f9a92e3aff687b0445ee4f7810d.zip |
Rename DEST variable to INSTALL_DIR
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | config.mk | 8 |
2 files changed, 9 insertions, 6 deletions
@@ -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 $< > $@ @@ -1,4 +1,4 @@ -BASEHREF = file://`realpath .` -HYDE = hyde -DEST = ~/www/alessandroiezzi.it -ARCHIVE = out.tar
\ No newline at end of file +BASEHREF = file://`realpath .` +HYDE = hyde +INSTALL_DIR = ~/www/alessandroiezzi.it +ARCHIVE = out.tar
\ No newline at end of file |