summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-04-20 19:41:13 +0200
committerJulien Cristau <jcristau@debian.org>2008-04-20 19:41:13 +0200
commit3b8c583e5a3d8733419cf5517d22b40f31c93e4c (patch)
tree53aabe6e045a2c6a77f4162a03e6608ec774adbe
parenta0e6c84ab34146b71c1b52b10452987ba1cc869a (diff)
Fix build with builddir != srcdir
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 14e0969..32e1d14 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,6 +53,7 @@ EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad) ChangeLog autogen.sh
SUFFIXES = .ad
.ad:
+ [ -d "$(builddir)/app-defaults" ] || mkdir "$(builddir)/app-defaults"
cp $< $@
appdefault_DATA = $(APPDEFAULTFILES)