[build] Fix distcheck of ChangeLog
Relax the copy failure condition.
This commit is contained in:
parent
bb6202a1a1
commit
bec9b32e73
@ -59,6 +59,8 @@ MAINTAINERCLEANFILES = \
|
|||||||
missing \
|
missing \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES += $(srcdir)/ChangeLog
|
||||||
|
|
||||||
PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc)
|
PREV_RELEASE=$(CLUTTER_MAJOR_VERSION).$$(echo "$(CLUTTER_MINOR_VERSION)-1" | bc)
|
||||||
|
|
||||||
CHANGELOGS = ChangeLog
|
CHANGELOGS = ChangeLog
|
||||||
@ -70,8 +72,8 @@ dist-hook: changelogs
|
|||||||
changelogs="$(CHANGELOGS)"; \
|
changelogs="$(CHANGELOGS)"; \
|
||||||
for changelog in $$changelogs; \
|
for changelog in $$changelogs; \
|
||||||
do \
|
do \
|
||||||
cp $(srcdir)/$$changelog $(distdir)/ 2>/dev/null || \
|
cp -f $(srcdir)/$$changelog $(distdir)/ 2>/dev/null || \
|
||||||
cp $$changelog $(distdir)/; \
|
cp -f $$changelog $(distdir)/; \
|
||||||
done
|
done
|
||||||
|
|
||||||
$(srcdir)/ChangeLog:
|
$(srcdir)/ChangeLog:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user