summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-01-10 20:43:47 +0000
committerHavoc Pennington <hp@src.gnome.org>2003-01-10 20:43:47 +0000
commit92c8ba04976f02157949b337f764ff3b04e06ce3 (patch)
tree92dbb8eca0f7f6e5abf0f7e7749518fb50521db5 /src/Makefile.am
parentefb26cb769f11b4b837fb16fa447c45b2e1e0224 (diff)
downloadmetacity-92c8ba04976f02157949b337f764ff3b04e06ce3.tar.gz
metacity-92c8ba04976f02157949b337f764ff3b04e06ce3.tar.bz2
don't install .desktop file for properties dialog if we aren't
2003-01-10 Havoc Pennington <hp@redhat.com> * src/Makefile.am (desktopfiles_DATA): don't install .desktop file for properties dialog if we aren't building/installing the properties dialog.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6644038..ee7e17b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -131,7 +131,10 @@ testasyncgetprop_LDADD= @METACITY_LIBS@
desktopfilesdir=$(datadir)/gnome/wm-properties
desktopfiles_in_files=metacity.desktop.in
-desktopfiles_DATA = $(desktopfiles_in_files:.desktop.in=.desktop)
+desktopfiles_files=$(desktopfiles_in_files:.desktop.in=.desktop)
+if BUILD_CONFIG_DIALOG
+desktopfiles_DATA = $(desktopfiles_files)
+endif
@INTLTOOL_DESKTOP_RULE@
schemadir = @GCONF_SCHEMA_FILE_DIR@
@@ -159,7 +162,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmetacity-private.pc
-EXTRA_DIST=$(desktopfiles_DATA) \
+EXTRA_DIST=$(desktopfiles_files) \
$(IMAGES) $(schema_DATA) \
update-from-egg.sh \
$(desktopfiles_in_files) \