aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-14 12:28:09 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-14 16:44:25 +0200
commit97123f05a19a1cbec41ef4b7b72adf0c3f681113 (patch)
treeb6795a046b6f374f91e60ba616aa921d5c6ad107 /Makefile
parent890a07ac1cfa6b60d450909a0108750db58fbbaa (diff)
downloadbugzilla-triage-97123f05a19a1cbec41ef4b7b72adf0c3f681113.tar.gz
make fix
- check for occurrence of FIXME in all lib/*.js files. - clear out obsolete ones - add fix target as dependency of all one.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 416448f..7a420e4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
WEBDIR=/home/matej/Dokumenty/website
-all: install
+all: fix install
install: local-install
websync
@@ -11,8 +11,11 @@ local-install: bugzilla-triage.xpi
bugzilla-triage.xpi: package.json lib/*.js docs/*
cfx xpi ;\
- unzip -o bugzilla-triage.xpi install.rdf ;\
+ unzip -qqo bugzilla-triage.xpi install.rdf ;\
sed -i -e \
's!<em:minVersion>3.5</em:minVersion>!<em:minVersion>3.6</em:minVersion>!' \
install.rdf ;\
- zip -9rmT bugzilla-triage.xpi install.rdf ;\
+ zip -9rmqT bugzilla-triage.xpi install.rdf ;\
+
+fix:
+ grep FIXME lib/*.js || /bin/true