From 564cb260f6718f6d55ea1b61e60dcacc6d4ad305 Mon Sep 17 00:00:00 2001 From: jahoti Date: Wed, 13 Oct 2021 00:00:00 +0000 Subject: Tidy up Makefile Add file prerequisites and some other minor changes --- Makefile.in | 19 +++++++++++-------- 1 file 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 = <> -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 -- cgit v1.2.3