[Pkg-mozext-commits] [perspectives-extension] 11/30: Makefile - Move main targets to top

David Prévot taffit at alioth.debian.org
Thu Sep 26 22:31:39 UTC 2013


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

taffit pushed a commit to branch debian
in repository perspectives-extension.

commit 8849b3b65498c4c0187f46de1707cd9dd795aaa7
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Sat Sep 14 23:07:00 2013 -0600

    Makefile - Move main targets to top
---
 Makefile |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile
index ce144a1..a00d2ce 100644
--- a/Makefile
+++ b/Makefile
@@ -11,31 +11,30 @@ plugin: clean dtds setup
 	sh -c "cd $(buildfolder)/ && zip -r ../$(outfile) * -x *\.svn*"
 	rm -rf $(buildfolder)
 
+test: clean setup install-test-files plugin
+
+clean:
+	rm -f $(outfile)
+	rm -rf $(buildfolder)/
+
 dtds:
 	@# remove invalid entity characters as part of the build
 	@# 1. we never have to remember to run this step manually
 	@# 2. this ensures the plugin won't crash
 	@echo Checking for perl...
-	@#note: the next few lines use spaces instead of tabs for indentation
-	@#just to keep them nicely formatted with the actual commands
+	@# note: the next few lines use spaces instead of tabs for indentation
+	@# just to keep them nicely formatted with the actual commands
     ifeq ($(shell command -v perl ; echo $$?),1)
 	    @echo -e "  perl not installed; skipping DTD tests.\n  WARNING: Invalid DTDs may prevent Perspectives from working.\n  Install perl to enable dtd validation."
     else
 	    find ./plugin/chrome/locale/ -name "*.dtd" | xargs perl -w checkdtds.pl
     endif
 
-clean:
-	rm -f $(outfile)
-	rm -rf $(buildfolder)/
-	rm -f $(unittest_dest)
-
 setup:
 	rm -rf $(buildfolder)/
 	mkdir $(buildfolder)
 	cp -r plugin/* $(buildfolder)/
 
-test: clean setup install-test-files plugin
-
 install-test-files: setup
 	mkdir $(unittest_dest_folder)
 	cp $(unittest_source)  $(unittest_dest)

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



More information about the Pkg-mozext-commits mailing list