summaryrefslogtreecommitdiff
path: root/app/xgamma/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'app/xgamma/Makefile.am')
-rw-r--r--app/xgamma/Makefile.am16
1 files changed, 13 insertions, 3 deletions
diff --git a/app/xgamma/Makefile.am b/app/xgamma/Makefile.am
index 84b8fa30e..24092eb6e 100644
--- a/app/xgamma/Makefile.am
+++ b/app/xgamma/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xgamma
-xgamma_CFLAGS = $(XGAMMA_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(XGAMMA_CFLAGS)
xgamma_LDADD = $(XGAMMA_LIBS)
xgamma_SOURCES = \
@@ -35,9 +35,19 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog
CLEANFILES = $(appman_DATA)
+MAINTAINERCLEANFILES=ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ $(CHANGELOG_CMD)
+
+dist-hook: ChangeLog
+
+
SED = sed
# Strings to replace in man pages
@@ -60,4 +70,4 @@ MAN_SUBSTS = \
SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@