summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@ubuntu.com>2009-10-06 19:02:53 +0200
committerBenjamin Drung <bdrung@ubuntu.com>2009-10-06 19:02:53 +0200
commit06e74ac9929f2c7e6e425ac862e04fb5db303036 (patch)
tree3e0eebd202b6b07427fdfab688185bca8959772f /src/Makefile
parent0b010ce323053e259880a980fd95026bac36b9db (diff)
- move data for the automagic detection of target application packages
into separate xpi-data-*.mk files and set default MOZ_XPI_DISTRO when installing mozilla-devscripts - rename src/xpi.mk to src/xpi.mk.in and update it - add src/xpi-data-all.mk - add src/xpi-data-common.mk - add src/xpi-data-Debian.mk - add src/xpi-data-Ubuntu.mk - update debian/control - update src/Makefile
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index a34d2c1..bb4a97b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -43,12 +43,16 @@ subst_files = \
mozclient.mk \
compare.mk \
minefield-packager.mk \
+ xpi.mk \
xulapp.mk \
$(NULL)
extra_files = \
- xpi.mk \
lp-locale-export.mk \
+ xpi-data-all.mk \
+ xpi-data-common.mk \
+ xpi-data-Debian.mk \
+ xpi-data-Ubuntu.mk \
$(NULL)
bindir_files = \
@@ -70,6 +74,7 @@ extra_dirs = \
-e "s|^\(MOZCLIENT_EXCLUDE_SCRIPT.*=[ ][ ]*\)\(.*/\)\(.*\)|\1$(DATADIR)/\3|" \
-e "s|^\(MOZCLIENT_PATCHES.*=[ ][ ]*\)\(.*/\)\(.*\)|\1$(DATADIR)/\3|" \
-e "s|^\(MOZDEVSCRIPT_DIR.*=[ ]*\)\(.*\)|\1$(DATADIR)/\2|" \
+ -e "s|@DISTRO@|$(shell lsb_release -si)|" \
> $@
chmod 644 $@