mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
20 lines
573 B
Makefile
20 lines
573 B
Makefile
|
PREV_RELEASE=git-import
|
||
|
|
||
|
changelog:
|
||
|
@if test -d "$(srcdir)/.git"; \
|
||
|
then \
|
||
|
to=""; \
|
||
|
from="$(PREV_RELEASE)"; \
|
||
|
echo Creating ChangeLog && \
|
||
|
( cd "$(top_srcdir)" && \
|
||
|
echo '# Generated by configure. Do no edit.'; echo; \
|
||
|
$(top_srcdir)/missing --run perl $(top_srcdir)/build/gen-changelog.pl $$from..$$to ) > ChangeLog.tmp \
|
||
|
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|
||
|
|| ( rm -f ChangeLog.tmp ; \
|
||
|
echo Failed to generate ChangeLog >&2 ); \
|
||
|
else \
|
||
|
echo A git checkout is required to generate a ChangeLog >&2; \
|
||
|
fi
|
||
|
|
||
|
dist-hook: changelog
|