summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-21 19:11:50 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-21 19:11:50 -0200
commit2e313cc7b5f0353e545a874ade80ab568687473f (patch)
tree28b8aba8d4391836baf056aae78aa08405b175ff /Makefile.am
parent1ab923fdd812a35dd46fe663780f8c8271aa5d89 (diff)
Correct make distcheck and sparse warnings.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 8101e2b..fa811ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,9 +2,8 @@ bin_PROGRAMS = xhost
xhost_SOURCES = xhost.c
-AM_CFLAGS = @XHOST_CFLAGS@
-
-xhost_LDADD = @XHOST_LIBS@
+AM_CFLAGS = $(XHOST_CFLAGS)
+xhost_LDADD = $(XHOST_LIBS)
appman_PRE = xhost.man
@@ -12,14 +11,14 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE) ChangeLog autogen.sh
+EXTRA_DIST = $(appman_PRE) ChangeLog
CLEANFILES = $(appman_DATA)
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)
+ $(CHANGELOG_CMD)
dist-hook: ChangeLog