[Pkg-mozext-commits] [personasplus] 03/42: Fix Makefile issues.
David Prévot
taffit at moszumanska.debian.org
Wed Feb 3 16:15:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository personasplus.
commit a88147fd87e56332cda3313f2d751c666128ccf2
Author: Kris Maglione <maglione.k at gmail.com>
Date: Tue Mar 5 17:52:27 2013 -0800
Fix Makefile issues.
---
Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index d2f635c..cbe30a3 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,12 @@ ROOT = $(shell pwd)/
EXTENSION_ROOT = $(ROOT)extension/
DIST = $(ROOT)dist/
-XPI = $(DIST)/$(NAME)-$(VERSION).xpi
+XPI = $(DIST)$(NAME)-$(VERSION).xpi
NAME = personas-plus
VERSION = $(shell sed -rn 's,.*<em:version>(.*)</em:version>,\1,p; /em:version/q' <$(EXTENSION_ROOT)install.rdf)
-FILE_EXTENSIONS = jpg js png properties xml xul
+FILE_EXTENSIONS = jpg dtd js png properties xml xul
# Oh GNU make...
space :=
@@ -15,7 +15,7 @@ space +=
FILES = install.rdf \
chrome.manifest \
- $(shell set -x; cd $(EXTENSION_ROOT); find content skin locale modules components -regex '.*\.\($(subst $(space),\|,$(FILE_EXTENSIONS))\)$$')
+ $(shell set -x; cd $(EXTENSION_ROOT); find content skin locale modules components defaults -regex '.*\.\($(subst $(space),\|,$(FILE_EXTENSIONS))\)$$')
xpi: $(XPI)
@@ -23,5 +23,6 @@ $(XPI): $(FILES:%=$(EXTENSION_ROOT)%) Makefile
mkdir -p $(DIST)
cd $(EXTENSION_ROOT)
7z a $@ $(FILES)
+ echo Created XPI file://$(XPI)
.ONESHELL:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/personasplus.git
More information about the Pkg-mozext-commits
mailing list