From: Willie Walker Date: Tue, 12 Jan 2010 22:58:48 +0000 (-0500) Subject: Allow make distcheck to still ship the atk-adapter *.desktop.in file. X-Git-Tag: AT_SPI2_ATK_0_1_6~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9016e554a3e30038f95cb21b12d3ee8d1dceb64f;p=platform%2Fupstream%2Fat-spi2-atk.git 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. --- 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