]> git.parisson.com Git - pdf.js.git/commitdiff
allow custom rules to be defined in local.mk
authorChris Jones <jones.chris.g@gmail.com>
Thu, 7 Jul 2011 16:51:48 +0000 (12:51 -0400)
committerChris Jones <jones.chris.g@gmail.com>
Thu, 7 Jul 2011 16:51:48 +0000 (12:51 -0400)
.gitignore
Makefile

index 95de9fb8e8c028744fa84126cf35c3b0f1f16ba8..9e2d0f2110e7029e09f4e7c718e8085869828091 100644 (file)
@@ -1,3 +1,5 @@
+*~
 pdf.pdf
 intelisa.pdf
 openweb_tm-PRINT.pdf
+local.mk
index c6971d025c07ef01dd96095ea2530f8a88bc9a89..9b2817fc4b43855160a5e1da4a73769aea0490d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@ BUILD_DIR := build
 DEFAULT_BROWSERS := test/resources/browser_manifests/browser_manifest.json
 DEFAULT_TESTS := test/test_manifest.json
 
+# Let folks define custom rules for their clones.
+-include local.mk
+
 # JS files needed for pdf.js.
 # This list doesn't account for the 'worker' directory.
 PDF_JS_FILES = \
@@ -156,5 +159,5 @@ clean:
 help:
        @echo "Read the comments in the Makefile for guidance.";
 
-.PHONY: all test browser-test font-test shell-test \
+.PHONY:: all test browser-test font-test shell-test \
        shell-msg lint clean web compiler help server