[rygel] build: Override install target
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] build: Override install target
- Date: Sun, 19 Aug 2012 16:53:41 +0000 (UTC)
commit e70f02e769e53c40ecedffa299a59ea821bd4738
Author: Jens Georg <mail jensge org>
Date: Sun Aug 19 13:19:03 2012 +0200
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.
common.am | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/common.am b/common.am
index 3f6c482..58512f7 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]