summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-04-20 19:32:12 +0200
committerJulien Cristau <jcristau@debian.org>2008-04-20 19:32:12 +0200
commitb4ac133b92e08a34054d0af9481ab59b03571818 (patch)
tree4e4292ddc7dafcea1b64e58dfb1a182517cbf402
parent1b14e9391500d06dd0b61967db8099c3cf27f90c (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 7b5e3ed..4aa22fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -160,6 +160,7 @@ APPDEFAULTFILES = app-defaults/Chooser
SUFFIXES += .ad
.ad:
+ [ -d "$(builddir)/app-defaults" ] || mkdir "$(builddir)/app-defaults"
cp $< $@
appdefault_DATA = $(APPDEFAULTFILES)