]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Documentation/include.mk
tests: don't repeatly validate NEWS.atom
[public-inbox.git] / Documentation / include.mk
index 651fdf30922b1f513b7c9de3afa17847af8db3ae..624f07f42e4330c3d7c6f6d227cfc14e43a88723 100644 (file)
@@ -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)