about summary refs log tree commit homepage
path: root/Documentation/include.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/include.mk')
-rw-r--r--Documentation/include.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/include.mk b/Documentation/include.mk
index 651fdf30..624f07f4 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -134,11 +134,12 @@ NEWS NEWS.atom NEWS.html : Documentation/include.mk
         $(PERL) -I lib -w Documentation/mknews.perl $@ $(RELEASES)
 
 # check for internal API changes:
-check :: NEWS check-NEWS.atom NEWS.html
+check :: NEWS .NEWS.atom.check NEWS.html
 
-check-NEWS.atom: NEWS.atom
+.NEWS.atom.check: NEWS.atom
         $(XMLSTARLET) val NEWS.atom || \
                 { e=$$?; test $$e -eq 0 || test $$e -eq 127; }
+        >$@
 
 Documentation/%.html: Documentation/%.txt
         $(txt2pre)