path: root/Makefile
diff options
authorYorhel <>2010-11-24 09:30:39 +0100
committerYorhel <>2010-11-24 09:36:46 +0100
commitb1020c34d67837194554388812a71aa5bf7db7e0 (patch)
treea24a2e619163e00e33c4cdc992627de18a686fdf /Makefile
parent19f2330ff0ab4946aca51e4c1ef762c0b48663bb (diff)
Makefile: Reverted back to a single .PHONY target
Apparently the trick didn't work, and for some reason I only noticed that now.
Diffstat (limited to 'Makefile')
1 files changed, 20 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 93dbff61..51ceb86f 100644
--- a/Makefile
+++ b/Makefile
@@ -37,15 +37,18 @@
# environments. Patches to improve the portability are always welcome.
-$(phony all): dirs js skins robots data/
+.PHONY: all dirs js skins robots chmod chmod-tladmin multi-stop multi-start multi-restart\
+ sql-import update-2.10 update-2.11 update-2.12 update-2.13 update-2.14
-$(phony dirs): static/cv static/sf static/st data/log www www/feeds
+all: dirs js skins robots data/
-$(phony js): static/f/script.js
+dirs: static/cv static/sf static/st data/log www www/feeds
-$(phony skins): static/s/*/style.css
+js: static/f/script.js
-$(phony robots): dirs www/robots.txt static/robots.txt
+skins: static/s/*/style.css
+robots: dirs www/robots.txt static/robots.txt
static/cv static/sf static/st:
mkdir $@;
@@ -54,7 +57,7 @@ static/cv static/sf static/st:
data/log www www/feeds:
mkdir $@
-static/f/script.js: data/script.js data/lang.txt util/ data/
+static/f/script.js: data/script.js data/lang.txt util/ data/ data/
static/s/%/style.css: static/s/%/conf util/ data/style.css
@@ -64,12 +67,12 @@ static/s/%/style.css: static/s/%/conf util/ data/style.css
echo 'User-agent: *' > $@
echo 'Disallow: /' >> $@
-$(phony chmod): all
+chmod: all
chmod a-x+rw static/f/script.js
chmod -R a-x+rwX static/{cv,sf,st}
chmod a-x+rw static/s/*/{style.css,boxbg.png}
-$(phony chmod-tladmin):
chmod a-x+rwX data/lang.txt data/docs data/docs/*\.*
@@ -88,13 +91,13 @@ define multi-start
-$(phony multi-stop):
-$(phony multi-start):
-$(phony multi-restart):
@@ -120,32 +123,32 @@ define runpsql
-$(phony sql-import):
${runpsql} < util/sql/all.sql
-$(phony update-2.10): all
+update-2.10: all
${runpsql} < util/updates/update_2.10.sql
-$(phony update-2.11): all
+update-2.11: all
${runpsql} < util/updates/update_2.11.sql
-$(phony update-2.12): all
+update-2.12: all
rm www/sitemap.xml.gz
${runpsql} < util/updates/update_2.12.sql
-$(phony update-2.13): all
+update-2.13: all
${runpsql} < util/updates/update_2.13.sql
-$(phony update-2.14): all
+update-2.14: all
${runpsql} < util/updates/update_2.14.sql