summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-27 19:21:16 -0500
committerDana Jansens <danakj@orodu.net>2008-02-27 19:36:48 -0500
commitb1dc814128c2cd402ef7b6717348a795a3c0ad14 (patch)
treeaa41f59216770cb86080292860d16bdde679b1b2 /Makefile.am
parente35a4697a76dc520d582dad242e578a617d0bdfe (diff)
make the xdg-autostart script get installed to PREFIX/lib/openbox, and make the autostart.sh script look for it there.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 051be7d7..fa8f65d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,6 +11,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
pixmapdir = $(datadir)/pixmaps
xsddir = $(datadir)/openbox
+secretbindir = $(libdir)/openbox
theme = Clearlooks
@@ -31,7 +32,7 @@ bin_PROGRAMS = \
openbox/openbox \
tools/gnome-panel-control/gnome-panel-control
-bin_SCRIPTS = \
+secretbin_SCRIPTS = \
tools/xdg-autostart/xdg-autostart
nodist_bin_SCRIPTS = \
@@ -412,8 +413,13 @@ dist_rc_DATA = \
edit = $(SED) \
-e 's!@version\@!$(VERSION)!' \
-e 's!@configdir\@!$(configdir)!' \
+ -e 's!@secretbindir\@!$(secretbindir)!' \
-e 's!@bindir\@!$(bindir)!'
+data/autostart.sh: $(srcdir)/data/autostart.sh.in Makefile
+ @echo make: creating $@
+ @$(edit) $< >$@
+
%.desktop: %.desktop.in Makefile
@echo make: creating $@
@$(edit) $< >$@