summaryrefslogtreecommitdiff
path: root/grc/freedesktop
diff options
context:
space:
mode:
Diffstat (limited to 'grc/freedesktop')
-rw-r--r--grc/freedesktop/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/freedesktop/Makefile.am b/grc/freedesktop/Makefile.am
index b167a0c66..79388ba3a 100644
--- a/grc/freedesktop/Makefile.am
+++ b/grc/freedesktop/Makefile.am
@@ -21,7 +21,7 @@
include $(top_srcdir)/grc/Makefile.inc
-ourdatadir = $(grc_data_prefix)/freedesktop
+ourdatadir = $(pkgdatadir)/grc/freedesktop
dist_ourdata_DATA = \
grc-icon-256.png \
@@ -36,8 +36,8 @@ dist_ourdata_DATA = \
dist_bin_SCRIPTS = grc_setup_freedesktop
-grc_setup_freedesktop: Makefile grc_setup_freedesktop.in
- sed -e 's|@SRCDIR[@]|$(ourdatadir)|g' $(srcdir)/$@.in > $@
+grc_setup_freedesktop: $(srcdir)/grc_setup_freedesktop.in Makefile
+ sed -e 's|@SRCDIR[@]|$(ourdatadir)|g' $< > $@
EXTRA_DIST = $(srcdir)/grc_setup_freedesktop.in
BUILT_SOURCES = grc_setup_freedesktop