summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in19
1 files changed, 11 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index 7a0e0e5..0a02a79 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -13,7 +13,11 @@
SHELL = /bin/sh
VPATH = <<VPATH>>
-VERSION = <<VERSION>>
+
+version = <<VERSION>>
+extension_files = background/ common/ content/ html/ licenses/ copyright \
+ icons/haketilo16.png icons/haketilo32.png icons/haketilo48.png \
+ icons/haketilo64.png icons/haketilo128.png
# Configuration goes here
@@ -28,17 +32,16 @@ all: mozilla chromium
mozilla: build_mozilla build_mozilla.zip
chromium: build_chromium build_chromium.zip
-build: build_$(default_target)
-build_all: build_mozilla build_chromium
+build: build_$(default_target)/
+build_all/: build_mozilla/ build_chromium/
zip: build_$(default_target).zip
-all_zip: build_mozilla.zip build_chromium.zip
-build_all.zip: all_zip
+build_all.zip all_zip: build_mozilla.zip build_chromium.zip
-build_%:
+build_% build_%/: $(extension_files)
$(srcdir)/build.sh $* $(srcdir) $(UPDATE_URL)
-build_%.zip: build_%
+build_%.zip: build_%/
cd $< && zip -q -r ../$@ *
clean:
@@ -52,5 +55,5 @@ distclean: clean
Makefile: config.status Makefile.in record.conf
./config.status
-config.status: record.conf
+config.status: write_makefile.sh
cp "$(srcdir)"/write_makefile.sh config.status