[at-spi2-atk] Allow make distcheck to still ship the atk-adapter *.desktop.in file. The *.desktop file will still



commit 9016e554a3e30038f95cb21b12d3ee8d1dceb64f
Author: Willie Walker <william walker sun com>
Date:   Tue Jan 12 17:58:48 2010 -0500

    Allow make distcheck to still ship the atk-adapter *.desktop.in file.
    The *.desktop file will still only be built/installed only if --enable-relocate is used.
    This fix makes sure that people building from tarballs will still have the *.desktop.in
    file.

 atk-adaptor/Makefile.am |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/atk-adaptor/Makefile.am b/atk-adaptor/Makefile.am
index 140ede4..87268ed 100644
--- a/atk-adaptor/Makefile.am
+++ b/atk-adaptor/Makefile.am
@@ -40,13 +40,14 @@ libatk_bridge_la_SOURCES =	\
 	event.h
 
 if RELOCATE
-gtkpathdir = $(gtkmoduledir)/..
 gnomeautostartdir = $(datadir)/gnome/autostart
 gnomeautostart_DATA = atk-bridge.desktop
+endif
+
+gtkpathdir = $(gtkmoduledir)/..
 EXTRA_DIST = atk-bridge.desktop.in
-CLEANFILES = $(gnome_autostart_DATA)
+CLEANFILES = atk-bridge.desktop
 
 %.desktop: %.desktop.in Makefile.am
 	sed -e "s,\ gtkpathdir\@,$(gtkpathdir)," \
 	< $< > $@
-endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]