summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-08-02 17:40:05 +0200
committerJulien Cristau <jcristau@debian.org>2008-08-02 17:40:05 +0200
commit985f825a94723f9f4b876af790ce92634d1129af (patch)
tree31108fd79ccb727be42d02e2b4f7461e661f7f14 /Makefile.am
parentc87a9f9e90158ce3afe4986c6d3e85a7b24a7230 (diff)
Create the app-defaults dir when using a build dir (build fix)
Also use AM_CFLAGS instead of xmessage_CFLAGS, making AM_PROG_CC_C_O unnecessary.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a06db06..b068461 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xmessage
-xmessage_CFLAGS = $(XMESSAGE_CFLAGS)
+AM_CFLAGS = $(XMESSAGE_CFLAGS)
xmessage_LDADD = $(XMESSAGE_LIBS)
xmessage_SOURCES = \
@@ -46,6 +46,7 @@ APPDEFAULTFILES = \
SUFFIXES = .ad
.ad:
+ $(mkdir_p) app-defaults
cp $< $@
appdefault_DATA = $(APPDEFAULTFILES)