aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bc61d80..fedfab2 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,9 @@ all: ${OBJ}
install: all
mkdir -p ${DEST}
- find . -name "*.html" -exec tar -rvf out.tar {} \;
+ find . -name "*.html" -exec tar -rvf ${ARCHIVE} {} \;
cp ip.php ${DEST}/
- tar -xf out.tar -C ${DEST}
+ tar -xf ${ARCHIVE} -C ${DEST}
cp -r assets/ ${DEST}/assets
cp search/index.cgi ${DEST}/search/
cp search/.htaccess ${DEST}/search/
@@ -33,7 +33,7 @@ deploy:
for i in `find * -name "*.html"`; do echo $i | sed "s/`basename $i`//"; done
clean:
- rm -f ${OBJ} out.tar
+ rm -f ${OBJ} ${ARCHIVE}
find -E * -regex ".*\.(trhtml|tmp)" -exec rm -f {} \;
rm -rf ${DEST}/*