Allow make distcheck to still ship the atk-adapter *.desktop.in file.
authorWillie Walker <william.walker@sun.com>
Tue, 12 Jan 2010 22:58:48 +0000 (17:58 -0500)
committerWillie Walker <william.walker@sun.com>
Tue, 12 Jan 2010 23:00:16 +0000 (18:00 -0500)
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

index 140ede4..87268ed 100644 (file)
@@ -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