summaryrefslogtreecommitdiff
path: root/app/fstobdf/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-06-13 00:11:00 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-06-13 00:11:00 +0000
commite04e726b24999c07b7467320cffc9513c05d8b22 (patch)
tree9bc4f82d37257682a803160c909be1e62a6e9114 /app/fstobdf/Makefile.am
parent14a3ad6c9ef9108f173cb9aa08ed3ccd3aa09a4c (diff)
Update to fstobdf 1.0.3
Diffstat (limited to 'app/fstobdf/Makefile.am')
-rw-r--r--app/fstobdf/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/fstobdf/Makefile.am b/app/fstobdf/Makefile.am
index 48d10a87d..d543e7428 100644
--- a/app/fstobdf/Makefile.am
+++ b/app/fstobdf/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = fstobdf
-fstobdf_CFLAGS = $(FSTOBDF_CFLAGS)
+AM_CFLAGS = $(FSTOBDF_CFLAGS)
fstobdf_LDADD = $(FSTOBDF_LIBS)
fstobdf_SOURCES = \
@@ -65,3 +65,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