From 58d299e54e1198bfa64c39e49c2c0020f9f62b98 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Mon, 19 Jan 2009 19:49:37 -0200 Subject: Ansification and compile warning fixes. This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings. --- Makefile.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4bc0ba3..3884d94 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,8 @@ bin_PROGRAMS = xcompmgr man_MANS = xcompmgr.1 -xcompmgr_LDADD = @XCOMPMGR_LIBS@ -lm - -INCLUDES = @XCOMPMGR_CFLAGS@ +AM_CFLAGS = $(XCOMPMGR_CFLAGS) +xcompmgr_LDADD = $(XCOMPMGR_LIBS) -lm EXTRA_DIST = \ autogen.sh \ @@ -15,7 +14,7 @@ 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 -- cgit v1.2.3-70-g09d2