markup-validator commit: Make it possible to override Makefile variables in config.mk.

changeset:   3189:aba7c242f790
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Mon Dec 13 23:33:24 2010 +0200
files:       .hgignore Makefile
description:
Make it possible to override Makefile variables in config.mk.


diff -r 99e2a3957299 -r aba7c242f790 .hgignore
--- a/.hgignore	Mon Dec 13 22:32:01 2010 +0200
+++ b/.hgignore	Mon Dec 13 23:33:24 2010 +0200
@@ -4,6 +4,7 @@
 *.bak
 *.gz
 *.py[co]
+config.mk
 misc/bundle/blib
 misc/bundle/Makefile
 misc/bundle/Makefile.old
diff -r 99e2a3957299 -r aba7c242f790 Makefile
--- a/Makefile	Mon Dec 13 22:32:01 2010 +0200
+++ b/Makefile	Mon Dec 13 23:33:24 2010 +0200
@@ -14,6 +14,9 @@
 
 VALIDATOR_URI = http://localhost/w3c-validator/check
 
+# Override the above variables in config.mk if needed.
+-include config.mk
+
 all: htdocs/docs/errors.html htdocs/sgml-lib/catalog.xml $(GZIP_FILES)
 
 htdocs/docs/errors.html: misc/docs_errors.pl share/templates/en_US/error_messages.cfg share/templates/en_US/docs_errors.tmpl htdocs/config/validator.conf

Received on Monday, 13 December 2010 22:20:07 UTC