We can create a stamp to avoid rerunning the check unless
NEWS.atom changes (and it will, soon, I hope :>).
/NEWS.html
/NEWS.atom
/NEWS
/NEWS.html
/NEWS.atom
/NEWS
$(PERL) -I lib -w Documentation/mknews.perl $@ $(RELEASES)
# check for internal API changes:
$(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; }
$(XMLSTARLET) val NEWS.atom || \
{ e=$$?; test $$e -eq 0 || test $$e -eq 127; }
Documentation/%.html: Documentation/%.txt
$(txt2pre)
Documentation/%.html: Documentation/%.txt
$(txt2pre)