[build] Fix distcheck of ChangeLog

Relax the copy failure condition.
This commit is contained in:
Emmanuele Bassi 2009-01-29 16:15:05 +00:00
parent bb6202a1a1
commit bec9b32e73

View File

@ -59,6 +59,8 @@ MAINTAINERCLEANFILES = \
missing \
$(NULL)
MAINTAINERCLEANFILES += $(srcdir)/ChangeLog
PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc)
CHANGELOGS = ChangeLog
@ -70,8 +72,8 @@ dist-hook: changelogs
changelogs="$(CHANGELOGS)"; \
for changelog in $$changelogs; \
do \
cp $(srcdir)/$$changelog $(distdir)/ 2>/dev/null || \
cp $$changelog $(distdir)/; \
cp -f $(srcdir)/$$changelog $(distdir)/ 2>/dev/null || \
cp -f $$changelog $(distdir)/; \
done
$(srcdir)/ChangeLog: