pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
pixmapdir = $(datadir)/pixmaps
xsddir = $(datadir)/openbox
+secretbindir = $(libdir)/openbox
theme = Clearlooks
openbox/openbox \
tools/gnome-panel-control/gnome-panel-control
-bin_SCRIPTS = \
+secretbin_SCRIPTS = \
tools/xdg-autostart/xdg-autostart
nodist_bin_SCRIPTS = \
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) $< >$@
# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV=""
-if which xdg-autostart >/dev/null; then
- xdg-autostart $DESKTOP_ENV
+if which @secretbindir@/xdg-autostart >/dev/null; then
+ @secretbindir@/xdg-autostart $DESKTOP_ENV
fi