summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ca7409d..2a4e286 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ DEST = ~/www/alessandroiezzi.it
SOURCES != find . -name "*.rhtml" | grep -v master | sed 's|\./||g'
OBJECTS = ${SOURCES:.rhtml=.html}
-all: ${OBJECTS}
+all: ${OBJECTS} ip.php
install:
mkdir -p ${DEST}
@@ -18,6 +18,10 @@ clean:
find . -name "*.html" -exec rm -f {} \;
rm -f out.tar
rm -rf ${DEST}/*
+ rm ip.php
.rhtml.html:
${CC} -f ${.ALLSRC} > ${.TARGET}
+
+ip.php: ip.rhtml.php
+ ${CC} -f ${.ALLSRC} > ${.TARGET}