aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1b17b9a..4dbefff 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,8 @@ CFG != find -E * -regex '.*\.r(html|php)\.config'
OBJ = ${SRC:.rhtml=.html}
OBJ := ${OBJ:.rphp=.php}
+TMP_FILES != find -E * -regex ".*\.(trhtml|tmp)"
+
include config.mk
@@ -36,9 +38,8 @@ deploy:
for i in `find * -name "*.html"`; do echo $i | sed "s/`basename $i`//"; done
clean:
- rm -f ${OBJ} ${ARCHIVE}
+ rm -f ${OBJ} ${ARCHIVE} ${TMP_FILES}
rm -rf ${INSTALL_DIR}
- find -E * -regex ".*\.(trhtml|tmp)" -exec rm -f {} \;
.rhtml.html .rphp.php: navigation.rhtml.inc master.rhtml
${HYDE} -b ${BASEHREF} -f $< > $@