summaryrefslogtreecommitdiff
path: root/common.am
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2012-08-19 13:19:03 +0200
committerJens Georg <mail@jensge.org>2012-08-19 13:19:09 +0200
commite70f02e769e53c40ecedffa299a59ea821bd4738 (patch)
tree722d500c3b870e291d13abd89292640f40fc93b4 /common.am
parent9a2a02b99ae47fc0e6c95a6b164ae5530725f7dc (diff)
downloadrygel-e70f02e769e53c40ecedffa299a59ea821bd4738.tar.gz
build: Override install target
Disable "make install" if configure was called with --enable-uninstalled. Some paths are compiled-in relatively to source directories and it doesn't make sense to install libraries and data files then.
Diffstat (limited to 'common.am')
-rw-r--r--common.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.am b/common.am
index 3f6c4824..58512f74 100644
--- a/common.am
+++ b/common.am
@@ -5,6 +5,10 @@ desktopdir = $(shareddir)
plugindir = $(abs_top_builddir)/src/plugins
icondir = $(shareddir)/icons/32x32
presetdir = $(shareddir)/presets
+
+install: all-am
+ @echo "You called configure with --enable-uninstalled. Cannot install"
+
else
shareddir = $(datadir)/rygel
sysconfigdir = $(sysconfdir)