aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-07-09 12:38:17 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-07-09 12:38:17 +0200
commitc1f02207c29cd7b97d64a3019481b23696530dea (patch)
tree426540ae707ce91085c0bb179cb07c961c1a6276 /Makefile
parent96cff6a57916e614574f3515b60d8b2f7f23c4e8 (diff)
downloadwebsite-c1f02207c29cd7b97d64a3019481b23696530dea.tar.gz
website-c1f02207c29cd7b97d64a3019481b23696530dea.zip
Create the ARCHIVE variable
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}/*