summaryrefslogtreecommitdiff
path: root/app/xkbprint/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'app/xkbprint/Makefile.am')
-rw-r--r--app/xkbprint/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/app/xkbprint/Makefile.am b/app/xkbprint/Makefile.am
index f96136aa1..faa9e9902 100644
--- a/app/xkbprint/Makefile.am
+++ b/app/xkbprint/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xkbprint
-xkbprint_CFLAGS = $(XKBPRINT_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(XKBPRINT_CFLAGS)
xkbprint_LDADD = $(XKBPRINT_LIBS)
xkbprint_SOURCES = \
@@ -64,4 +64,14 @@ MAN_SUBSTS = \
SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
+
+EXTRA_DIST += ChangeLog
+MAINTAINERCLEANFILES = ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ $(CHANGELOG_CMD)
+
+dist-hook: ChangeLog