[svn] r2265@freebird: fabien | 2006-01-27 17:55:11 -0500
Add deps on file for validate targets.
--- a/Makefile Fri Feb 03 16:27:40 2006 -0500
+++ b/Makefile Fri Feb 03 16:27:52 2006 -0500
@@ -30,11 +30,11 @@
validate-rpgtheory: $(addsuffix -validate, $(EN_ARTICLES))
-$(addsuffix -validate,$(TARGETS)):
- $(call xml_validate,$(subst -validate,.xml,$@))
+%-validate: %.xml
+ $(call xml_validate,$<)
-$(addsuffix -validate,$(HTML_FILES)):
- $(call html_validate,$(subst -validate,,$@))
+%.html-validate: %.html
+ $(call html_validate,$<)
validate: $(addsuffix -validate,$(TARGETS) $(HTML_FILES))