summaryrefslogtreecommitdiff
path: root/app/xvinfo/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'app/xvinfo/Makefile.am')
-rw-r--r--app/xvinfo/Makefile.am14
1 files changed, 11 insertions, 3 deletions
diff --git a/app/xvinfo/Makefile.am b/app/xvinfo/Makefile.am
index a9ae40d15..8402b289a 100644
--- a/app/xvinfo/Makefile.am
+++ b/app/xvinfo/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xvinfo
-xvinfo_CFLAGS = $(XVINFO_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(XVINFO_CFLAGS)
xvinfo_LDADD = $(XVINFO_LIBS)
xvinfo_SOURCES = \
@@ -35,8 +35,16 @@ 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
@@ -60,4 +68,4 @@ MAN_SUBSTS = \
SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@