dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made sources and debian package buildable on current versions of software.
[gedcom-parse.git]
/
Makefile.inc
diff --git
a/Makefile.inc
b/Makefile.inc
index dd724ba3fe1cf22ac74d16056f580cb6f11fadc0..a9d0c878f5fac0f940ac283be1f475a9f90c4624 100644
(file)
--- a/
Makefile.inc
+++ b/
Makefile.inc
@@
-12,12
+12,16
@@
define replace-VERSION
endef
%.tabgen.h: %.tab.h
endef
%.tabgen.h: %.tab.h
- if [ ! -r $(srcdir)/$@ ] ; \
+
@
if [ ! -r $(srcdir)/$@ ] ; \
then \
then \
+ echo "Creating empty file for $@"; \
touch $(srcdir)/$@; \
fi
touch $(srcdir)/$@; \
fi
-
if ! diff -q $< $(srcdir)/$@ > /dev/null
; \
+
@if diff $< $(srcdir)/$@ > /dev/null 2>&1
; \
then \
then \
+ : ; \
+ else \
+ echo "Updating $@"; \
rm $(srcdir)/$@; \
cp $(srcdir)/$< $(srcdir)/$@; \
fi
rm $(srcdir)/$@; \
cp $(srcdir)/$< $(srcdir)/$@; \
fi