We can create a stamp to avoid rerunning the check unless
NEWS.atom changes (and it will, soon, I hope :>).
*.html
*.gz
.*.cols
+.*.check
/NEWS.html
/NEWS.atom
/NEWS
$(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)