summaryrefslogtreecommitdiff
path: root/app/xfsinfo/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-06-14 16:49:30 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-06-14 16:49:30 +0000
commiteef2117f7b6cc92ead7b6b512a535a203060544d (patch)
tree4333aacc7ab9cc8530af46c9ffd2a792a63e1cae /app/xfsinfo/Makefile.am
parentb6e5e58410d59cdf4c980b2ff692af5ef5403364 (diff)
Update to xfsinfo 1.0.2
Diffstat (limited to 'app/xfsinfo/Makefile.am')
-rw-r--r--app/xfsinfo/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/xfsinfo/Makefile.am b/app/xfsinfo/Makefile.am
index 377a5afbc..c498ddb31 100644
--- a/app/xfsinfo/Makefile.am
+++ b/app/xfsinfo/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xfsinfo
-xfsinfo_CFLAGS = $(XFSINFO_CFLAGS)
+AM_CFLAGS = $(XFSINFO_CFLAGS)
xfsinfo_LDADD = $(XFSINFO_LIBS)
xfsinfo_SOURCES = \
@@ -61,3 +61,13 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+EXTRA_DIST += ChangeLog
+MAINTAINERCLEANFILES = 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)
+
+dist-hook: ChangeLog