[Pkg-mozext-commits] [itsalltext] 12/459: Added Makefile

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit cffc1b556443751974c5f5682d59696763c35b2e
Author: docwhat at gerf.org <docwhat at gerf.org>
Date:   Sun Dec 10 19:39:45 2006 -0500

    Added Makefile
---
 Makefile | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f300a28
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,35 @@
+# NOTE: do not create files or directories in here that have
+#       spaces or other special characters in their names!
+SOURCES=$(shell find . \
+	   -not -regex '^\(\|.*/\)\(tmpdir\|CVS\|\.hg\|\.DS_Store\).*\(\|/.*\)$$' \
+       -not -name 'Makefile' \
+       -not -name '*-report.txt' \
+       -not -name '*.xpi' \
+       -not -name '.*' \
+       -not -name '*~' \
+	   -print)
+VERSION=$(shell grep '<em:version>' install.rdf| perl -p -e 's!.*<em:version>\s*([^<]*)\s*</em:version>.*!$$1!;')
+SOURCES_JS=$(shell echo "$(SOURCES)" | xargs -n 1 echo | grep -E '\.js$$')
+
+XPI_FILE=../itsalltext.xpi
+
+ifeq ($(VERBOSE),1)
+	Q =
+else
+	Q = @
+endif
+
+all: $(XPI_FILE) $(MOZILLA_XPI_FILE)
+	$(Q)echo done
+
+%.xpi: $(SOURCES)
+	$(Q)echo Creating $@ ...
+	$(Q)echo "$^" | perl -p -e 's/ /\n/g;' \
+    | zip $@ -@
+
+jslint-report.txt: $(SOURCES_JS)
+	$(Q)for jsfile in $^; do jslint $${jsfile}; done > "$@" 2>&1
+
+.PHONY: realclean
+clean:
+	$(Q)rm -f $(XPI_FILE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list