diff options
Diffstat (limited to 'driver/xf86-input-dynapro/Makefile.am')
-rw-r--r-- | driver/xf86-input-dynapro/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/driver/xf86-input-dynapro/Makefile.am b/driver/xf86-input-dynapro/Makefile.am index 7052905f3..42f8b5498 100644 --- a/driver/xf86-input-dynapro/Makefile.am +++ b/driver/xf86-input-dynapro/Makefile.am @@ -20,3 +20,11 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man + +CLEANFILES = ChangeLog +EXTRA_DIST = ChangeLog + +.PHONY: ChangeLog + +ChangeLog: + (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) |