From 7c64c5b3f0535e58506a3157e3bd645996dc154f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 29 Nov 2019 10:14:12 +0000 Subject: tests: don't repeatly validate NEWS.atom We can create a stamp to avoid rerunning the check unless NEWS.atom changes (and it will, soon, I hope :>). --- Documentation/include.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Documentation/include.mk') 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) -- cgit v1.2.3-24-ge0c7