[Pkg-mozext-commits] [itsalltext] 80/459: Don't rerun the docs everytime.
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:08 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 09b429f3e90a898d7878b0f1ee48c15d2095096a
Author: docwhat at gerf.org <docwhat at gerf.org>
Date: Fri Jan 19 11:17:41 2007 -0500
Don't rerun the docs everytime.
---
Makefile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index a73a0e4..8fa08b8 100644
--- a/Makefile
+++ b/Makefile
@@ -57,14 +57,17 @@ version_check:
$(Q)echo "$^" | perl -p -e 's/ /\n/g;' \
| zip $@ -@
-docs: $(SOURCES_JS)
- $(Q)echo Creating $@ ...
- $(Q)jsdoc --directory "$@" \
+.PHONY: docs
+docs: docs/.stamp
+docs/.stamp: $(SOURCES_JS)
+ $(Q)echo Creating docs ...
+ $(Q)jsdoc --directory docs \
--project-name "It's All Text - A Firefox Extension" \
--logo chrome/content/icon.png \
--package-naming \
--private \
- $(SOURCES_JS)
+ $^
+ $(Q)touch "$@"
.PHONY: lint
lint: lint.log
--
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