summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-10-09 20:21:16 -0400
committerDana Jansens <danakj@orodu.net>2011-01-24 14:19:22 -0500
commit6dedf8f37e00a61e4b0d3762b869ed39eeee77f8 (patch)
tree1b9cdc00b95ddebdd3f234db1aac3456c58a9111 /Makefile.am
parenta21e9c9cc5f2b1a62e7812c1bf4393089505abeb (diff)
use top_builddir, not builddir variable in Makefile. seems builddir doesn't always exist/anymore
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index edd02fd1..f57a7703 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -471,17 +471,17 @@ edit = $(SED) \
-e 's!@libexecdir\@!$(libexecdir)!' \
-e 's!@bindir\@!$(bindir)!'
-data/autostart/autostart: $(srcdir)/data/autostart/autostart.in Makefile
+data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
@echo make: creating $@
- @test -d $(shell dirname $(builddir)/$@) || \
- mkdir $(shell dirname $(builddir)/$@)
- @$(edit) $< >$(builddir)/$@
+ @test -d $(shell dirname $(top_builddir)/$@) || \
+ mkdir $(shell dirname $(top_builddir)/$@)
+ @$(edit) $< >$(top_builddir)/$@
-data/autostart/openbox-autostart: $(srcdir)/data/autostart/openbox-autostart.in Makefile
+data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
@echo make: creating $@
- @test -d $(shell dirname $(builddir)/$@) || \
- mkdir $(shell dirname $(builddir)/$@)
- @$(edit) $< >$(builddir)/$@
+ @test -d $(shell dirname $(top_builddir)/$@) || \
+ mkdir $(shell dirname $(top_builddir)/$@)
+ @$(edit) $< >$(top_builddir)/$@
%.desktop: %.desktop.in Makefile
@echo make: creating $@