summaryrefslogtreecommitdiff
path: root/driver/xf86-input-spaceorb/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-input-spaceorb/Makefile.in')
-rw-r--r--driver/xf86-input-spaceorb/Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/driver/xf86-input-spaceorb/Makefile.in b/driver/xf86-input-spaceorb/Makefile.in
index 46295dd69..864b78812 100644
--- a/driver/xf86-input-spaceorb/Makefile.in
+++ b/driver/xf86-input-spaceorb/Makefile.in
@@ -210,6 +210,8 @@ sysconfdir = @sysconfdir@
target_alias = @target_alias@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src man
+CLEANFILES = ChangeLog
+EXTRA_DIST = ChangeLog
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -570,6 +572,7 @@ install-strip:
mostlyclean-generic:
clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -644,6 +647,11 @@ uninstall-info: uninstall-info-recursive
mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
tags tags-recursive uninstall uninstall-am uninstall-info-am
+
+.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)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: