diff options
author | Jens Georg <mail@jensge.org> | 2012-08-19 13:19:03 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2012-08-19 13:19:09 +0200 |
commit | e70f02e769e53c40ecedffa299a59ea821bd4738 (patch) | |
tree | 722d500c3b870e291d13abd89292640f40fc93b4 /common.am | |
parent | 9a2a02b99ae47fc0e6c95a6b164ae5530725f7dc (diff) | |
download | rygel-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.am | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |