[Pkg-mozext-commits] [itsalltext] 315/459: Fixed warnings

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:33 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 c3780774c42dce25e60879c3fc5cfeda182908f2
Author: Christian Höltje <docwhat at gmail.com>
Date:   Thu Apr 10 17:44:31 2008 -0400

    Fixed warnings
---
 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index ed926a4..75ea0ca 100644
--- a/Makefile
+++ b/Makefile
@@ -138,7 +138,7 @@ lint: $(SOURCES_JS_LINT) $(SOURCES_JS_WARN)
 
 .INTERMEDIATE: $(SOURCES_JS_LINT_PRE)
 
-$(SOURCES_JS_LINT_PRE): lint/%.js.lint-pre: %.js Makefile
+$(SOURCES_JS_LINT_PRE): lint/%.js.lint-pre: %.js
 	$(Q)mkdir -p $(dir $@)
 	$(Q)perl -p -e 's!^(\s*)(const)(\s+)!$$1var$$3!' $< > $@
 
@@ -147,14 +147,14 @@ $(SOURCES_JS_LINT): %.js.lint: %.js.lint-pre
 	$(Q)rm -f $@
 	$(Q)$(JSLINT) -p $< |\
 		perl -p -e 's!^(jslint: linting )lint/(.*)\.lint-pre!********* $$1$$2!' >> $@
-$(SOURCES_JS_WARN): lint/%.js.warn: %.js Makefile
+$(SOURCES_JS_WARN): lint/%.js.warn: %.js
 	$(info warning $(patsubst %.lint-pre,%,$(notdir $<)) ...)
 	$(Q)echo '********* checking $< *********' > $@
 	$(Q)$(YC) $(YC_JSFLAGS) --verbose -o /dev/null $< 2>&1 |\
 		grep -vE '^\[INFO\] It is recommended to use Sun' >> $@
 
 .PHONY: lintcheck
-lintcheck: $(SOURCES_JS_LINT)
+lintcheck: $(SOURCES_JS_LINT) $(SOURCES_JS_WARN)
 	$(Q)egrep -q '^lint at '    $(SOURCES_JS_LINT) ; test $$? != 0
 	$(Q)egrep -q '^\[WARNING\]' $(SOURCES_JS_WARN) ; test $$? != 0
 

-- 
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