X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=Makefile.inc;h=a9d0c878f5fac0f940ac283be1f475a9f90c4624;hb=d2dbc2834cae06a5de0dec22c0e7a530b7dd1589;hp=aa01812cf7e657818cd3b060b17d25fef09da4e0;hpb=613b373ecea9c382ed14cfc091e3f92627de631b;p=gedcom-parse.git diff --git a/Makefile.inc b/Makefile.inc index aa01812..a9d0c87 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -12,14 +12,16 @@ define replace-VERSION endef %.tabgen.h: %.tab.h - if [ ! -r $(srcdir)/$@ ] ; \ + @if [ ! -r $(srcdir)/$@ ] ; \ then \ + echo "Creating empty file for $@"; \ touch $(srcdir)/$@; \ fi - if diff $< $(srcdir)/$@ > /dev/null 2>&1; \ + @if diff $< $(srcdir)/$@ > /dev/null 2>&1; \ then \ : ; \ else \ + echo "Updating $@"; \ rm $(srcdir)/$@; \ cp $(srcdir)/$< $(srcdir)/$@; \ fi