From f179a2c7f91497854fa787eb0c65e547a791f038 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 19 Feb 2014 21:27:31 -0600 Subject: Build the upstart desktop file in its own directory --- data/upstart/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/upstart/Makefile.am (limited to 'data/upstart/Makefile.am') diff --git a/data/upstart/Makefile.am b/data/upstart/Makefile.am new file mode 100644 index 0000000..a384c75 --- /dev/null +++ b/data/upstart/Makefile.am @@ -0,0 +1,9 @@ + +xdg_autostartdir = $(datadir)/upstart/xdg/autostart +xdg_autostart_DATA = indicator-application.desktop + +%.desktop: %.desktop.in + sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ + +EXTRA_DIST = \ + indicator-application.desktop.in -- cgit v1.2.3 From dd359a11a25e6aa082d405c56c5b1255cd844c76 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 19 Feb 2014 21:31:05 -0600 Subject: Switch to using pkglibexecdir --- data/upstart/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/upstart/Makefile.am') diff --git a/data/upstart/Makefile.am b/data/upstart/Makefile.am index a384c75..f7bc09e 100644 --- a/data/upstart/Makefile.am +++ b/data/upstart/Makefile.am @@ -1,9 +1,9 @@ -xdg_autostartdir = $(datadir)/upstart/xdg/autostart +xdg_autostartdir = $(pkgdatadir)/upstart/xdg/autostart xdg_autostart_DATA = indicator-application.desktop %.desktop: %.desktop.in - sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ + sed -e "s|\@libexecdir\@|$(pkglibexecdir)|" $< > $@ EXTRA_DIST = \ indicator-application.desktop.in -- cgit v1.2.3