From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Cc: Olaf Hering <olaf@aepfle.de>
Subject: [PATCH 00/28 v4] tool changes to honor configure --prefix=DIR
Date: Thu, 25 Sep 2014 17:19:55 +0200 [thread overview]
Message-ID: <1411658423-18877-1-git-send-email-olaf@aepfle.de> (raw)
In my attempt to get a xen.rpm from 'make rpmball' which operates
entirely below the configured --prefix= I came up with these changes.
This is a resend of the remaining parts of this series with the
comments incorporated:
http://lists.xenproject.org/archives/html/xen-devel/2014-09/msg03003.html
In v4 of this series configure is updated to provide all paths:
prefix, bindir, sbindir, libdir, libexecdir, datarootdir, mandir,
docdir, dvidir, htmldir, pdfdir, psdir, includedir, localstatedir,
sysconfdir
These variables are used to feed the private variables used in the xen
source tree. At some later point another patch may convert them all to
the common automake variants.
Additional options: with-initddir, with-linux-backend-modules,
with-sysconfig-leaf-dir and enable-rpath.
Removed options: --disable-debug, in favour of 'make debug=yn
debug_symbols=yn'.
Every path is now stored in config/Paths.mk.
With this series its now possible to run everything except pygrub
below the configured --prefix=.
NOTE: the renaming of tools/hotplug/Linux/init.d/xencommons.in may
cause trouble in configured working copies. Use 'git clean -dfx' to
wipe all and everything before git pull.
One outstanding bug is pygrub, which does not know about
$prefix/$lib/python/site-packages. This is still on my todo list.
Olaf Hering (28):
Neutralize make uninstall
tools/hotplug: fix race during xen.conf creation
tools/python: use also LDFLAGS for build
Add configure --with-initddir=DIR
tools/hotplug: use XEN_SCRIPT_DIR instead of hardcoded path
tools/configure.ac: sort AC_CONFIG_FILES
tools: use INITD_DIR instead of CONFIG_DIR/init.d|rc.d
tools/hotplug: substitute XEN_SCRIPT_DIR on FreeBSD
remove duplicate variables from config
Substitue configure variables in Paths.mk.in
tools: substitute bindir instead of BINDIR
Use configure --mandir=DIR to set MANDIR
Use configure --docdir=DIR to set DOCDIR
Use configure --includedir=DIR to set INCLUDEDIR
Use configure --libexecdir=BASEDIR to set LIBEXEC
Use configure --prefix=DIR to set PREFIX
Use configure --localstatedir=BASEDIR to set path to /var
Add configure --enable-rpath
Add configure --with-linux-backend-modules="mod1 mod2"
Put bash_completion.d below --sysconfdir=DIR
Add configure --with-sysconfig-leaf-dir=SUBDIR to set CONFIG_LEAF_DIR
Make XENFIRMWAREDIR a subdir of libexecdir
tools: remove private copies of includedir and libdir from libxenstat
Use Paths.mk for docs, stubdom and tools build
tools: use XEN_LIB_STORED instead of /var/lib/xenstored
Use XEN_RUN_DIR instead of /var/run/xen
move vtpmmgr helpers from tools to stubdom
Separate runtime debug output from debug symbols
.gitignore | 7 ++
Config.mk | 19 ++--
Makefile | 15 +--
README | 12 ---
config/Docs.mk.in | 7 +-
config/Linux.mk | 2 +
config/Linux.modules | 20 ----
config/NetBSD.mk | 5 -
config/NetBSDRump.mk | 2 -
config/Paths.mk.in | 44 +++++++--
config/StdGNU.mk | 23 -----
config/Stubdom.mk.in | 10 --
config/SunOS.mk | 15 ---
config/Tools.mk.in | 17 ++--
docs/misc/distro_mapping.txt | 5 +-
m4/paths.m4 | 103 +++++++++++++++------
m4/xenstored.m4 | 8 +-
stubdom/Makefile | 7 +-
stubdom/configure.ac | 1 -
stubdom/vtpmmgr/Makefile | 5 +
{tools => stubdom}/vtpmmgr/calc.pl | 0
{tools => stubdom}/vtpmmgr/manage-vtpmmgr.pl | 0
tools/Makefile | 36 +++++--
tools/Rules.mk | 1 -
tools/configure.ac | 54 +++++++++--
tools/console/Makefile | 4 +-
tools/hotplug/FreeBSD/Makefile | 5 +-
.../FreeBSD/rc.d/{xencommons => xencommons.in} | 6 +-
tools/hotplug/FreeBSD/vif-bridge | 2 +-
tools/hotplug/Linux/Makefile | 18 ++--
tools/hotplug/Linux/init.d/sysconfig.xencommons.in | 10 +-
.../Linux/init.d/{xen-watchdog => xen-watchdog.in} | 2 +-
.../init.d/{xencommons.in.in => xencommons.in} | 13 ++-
.../Linux/init.d/{xendomains => xendomains.in} | 14 +--
tools/hotplug/Linux/systemd/Makefile | 37 ++------
.../systemd/xen-qemu-dom0-disk-backend.service.in | 4 +-
.../hotplug/Linux/systemd/xen-watchdog.service.in | 2 +-
tools/hotplug/Linux/systemd/xenconsoled.service.in | 2 +-
tools/hotplug/Linux/systemd/xendomains.service.in | 6 +-
tools/hotplug/Linux/systemd/xenstored.service.in | 4 +-
tools/hotplug/Linux/update-modules.sh | 36 -------
tools/hotplug/Linux/{vif-setup => vif-setup.in} | 2 +-
.../{xen-backend.rules => xen-backend.rules.in} | 16 ++--
...-hotplug-common.sh => xen-hotplug-common.sh.in} | 4 +-
tools/hotplug/Linux/{xendomains => xendomains.in} | 2 +-
tools/hotplug/NetBSD/Makefile | 6 +-
tools/hotplug/NetBSD/block | 2 +-
.../NetBSD/rc.d/{xencommons => xencommons.in} | 4 +-
tools/hotplug/NetBSD/vif-bridge | 2 +-
tools/hotplug/NetBSD/vif-ip | 2 +-
tools/libxl/Makefile | 6 +-
tools/libxl/libxl_dm.c | 4 +-
tools/libxl/libxl_internal.h | 1 -
tools/libxl/libxl_paths.c | 7 +-
tools/libxl/libxl_save_callout.c | 2 +-
tools/misc/Makefile | 4 +-
tools/ocaml/common.make | 5 +-
tools/pygrub/Makefile | 8 +-
tools/python/Makefile | 4 +-
tools/tests/vhpet/Makefile | 2 +-
tools/tests/x86_emulator/Makefile | 4 +-
tools/vtpmmgr/Makefile | 15 ---
tools/xcutils/Makefile | 4 +-
tools/xenpaging/Makefile | 4 +-
tools/xenstat/libxenstat/Makefile | 4 -
tools/xenstore/Makefile | 3 +-
tools/xenstore/xs_lib.c | 2 +-
tools/xentrace/Makefile | 4 +-
xen/Rules.mk | 5 +-
xen/arch/x86/Makefile | 2 +-
70 files changed, 330 insertions(+), 383 deletions(-)
delete mode 100644 config/Linux.modules
rename {tools => stubdom}/vtpmmgr/calc.pl (100%)
rename {tools => stubdom}/vtpmmgr/manage-vtpmmgr.pl (100%)
rename tools/hotplug/FreeBSD/rc.d/{xencommons => xencommons.in} (96%)
rename tools/hotplug/Linux/init.d/{xen-watchdog => xen-watchdog.in} (97%)
rename tools/hotplug/Linux/init.d/{xencommons.in.in => xencommons.in} (91%)
rename tools/hotplug/Linux/init.d/{xendomains => xendomains.in} (79%)
delete mode 100755 tools/hotplug/Linux/update-modules.sh
rename tools/hotplug/Linux/{vif-setup => vif-setup.in} (61%)
rename tools/hotplug/Linux/{xen-backend.rules => xen-backend.rules.in} (62%)
rename tools/hotplug/Linux/{xen-hotplug-common.sh => xen-hotplug-common.sh.in} (94%)
rename tools/hotplug/Linux/{xendomains => xendomains.in} (99%)
rename tools/hotplug/NetBSD/rc.d/{xencommons => xencommons.in} (97%)
delete mode 100644 tools/vtpmmgr/Makefile
next reply other threads:[~2014-09-25 15:19 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-25 15:19 Olaf Hering [this message]
2014-09-25 15:19 ` [PATCH 01/28] Neutralize make uninstall Olaf Hering
2014-09-29 13:48 ` Ian Campbell
2014-09-30 12:07 ` Olaf Hering
2014-09-30 12:26 ` Ian Campbell
2014-09-29 13:49 ` Ian Campbell
2014-09-30 12:09 ` Olaf Hering
2014-09-30 12:26 ` Ian Campbell
2014-10-01 5:52 ` Olaf Hering
2014-10-01 10:44 ` Ian Campbell
2014-09-25 15:19 ` [PATCH 02/28] tools/hotplug: fix race during xen.conf creation Olaf Hering
2014-09-30 15:46 ` Ian Campbell
2014-09-25 15:19 ` [PATCH 03/28] tools/python: use also LDFLAGS for build Olaf Hering
2014-09-30 15:46 ` Ian Campbell
2014-09-25 15:19 ` [PATCH 04/28] Add configure --with-initddir=DIR Olaf Hering
2014-09-30 15:47 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 05/28] tools/hotplug: use XEN_SCRIPT_DIR instead of hardcoded path Olaf Hering
2014-09-25 15:20 ` [PATCH 06/28] tools/configure.ac: sort AC_CONFIG_FILES Olaf Hering
2014-09-25 15:20 ` [PATCH 07/28] tools: use INITD_DIR instead of CONFIG_DIR/init.d|rc.d Olaf Hering
2014-09-30 16:06 ` Roger Pau Monné
2014-09-25 15:20 ` [PATCH 08/28] tools/hotplug: substitute XEN_SCRIPT_DIR on FreeBSD Olaf Hering
2014-09-30 16:06 ` Roger Pau Monné
2014-09-25 15:20 ` [PATCH 09/28] remove duplicate variables from config Olaf Hering
2014-09-30 16:11 ` Roger Pau Monné
2014-09-30 16:30 ` Olaf Hering
2014-09-25 15:20 ` [PATCH 10/28] Substitue configure variables in Paths.mk.in Olaf Hering
2014-09-30 15:48 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 11/28] tools: substitute bindir instead of BINDIR Olaf Hering
2014-09-30 15:51 ` Ian Campbell
2014-09-30 15:55 ` Olaf Hering
2014-09-30 16:04 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 12/28] Use configure --mandir=DIR to set MANDIR Olaf Hering
2014-09-30 15:51 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 13/28] Use configure --docdir=DIR to set DOCDIR Olaf Hering
2014-09-30 15:52 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 14/28] Use configure --includedir=DIR to set INCLUDEDIR Olaf Hering
2014-09-30 15:52 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 15/28] Use configure --libexecdir=BASEDIR to set LIBEXEC Olaf Hering
2014-09-30 15:55 ` Ian Campbell
2014-09-30 15:58 ` Olaf Hering
2014-09-30 16:02 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 16/28] Use configure --prefix=DIR to set PREFIX Olaf Hering
2014-09-25 15:20 ` [PATCH 17/28] Use configure --localstatedir=BASEDIR to set path to /var Olaf Hering
2014-09-30 15:55 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 18/28] Add configure --enable-rpath Olaf Hering
2014-09-30 15:56 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 19/28] Add configure --with-linux-backend-modules="mod1 mod2" Olaf Hering
2014-09-30 15:57 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 20/28] Put bash_completion.d below --sysconfdir=DIR Olaf Hering
2014-09-30 15:58 ` Ian Campbell
2014-09-30 16:01 ` Olaf Hering
2014-09-25 15:20 ` [PATCH 21/28] Add configure --with-sysconfig-leaf-dir=SUBDIR to set CONFIG_LEAF_DIR Olaf Hering
2014-09-30 15:59 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 22/28] Make XENFIRMWAREDIR a subdir of libexecdir Olaf Hering
2014-09-25 15:20 ` [PATCH 23/28] tools: remove private copies of includedir and libdir from libxenstat Olaf Hering
2014-09-25 15:20 ` [PATCH 24/28] Use Paths.mk for docs, stubdom and tools build Olaf Hering
2014-09-30 16:00 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 25/28] tools: use XEN_LIB_STORED instead of /var/lib/xenstored Olaf Hering
2014-09-25 15:20 ` [PATCH 26/28] Use XEN_RUN_DIR instead of /var/run/xen Olaf Hering
2014-09-30 16:00 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 27/28] move vtpmmgr helpers from tools to stubdom Olaf Hering
2014-09-30 16:02 ` Ian Campbell
2014-09-25 15:20 ` [PATCH 28/28] Separate runtime debug output from debug symbols Olaf Hering
2014-09-25 15:41 ` Andrew Cooper
2014-09-25 15:57 ` Jan Beulich
2014-09-26 6:07 ` Olaf Hering
2014-09-25 16:01 ` Jan Beulich
2014-09-26 8:17 ` Olaf Hering
2014-09-26 8:54 ` Olaf Hering
2014-09-26 9:06 ` Jan Beulich
2014-09-26 9:22 ` Olaf Hering
2014-09-26 9:37 ` Jan Beulich
2014-09-26 8:56 ` Jan Beulich
2014-09-26 11:40 ` [PATCH 28/28 v2] " Olaf Hering
2014-09-26 11:56 ` Jan Beulich
2014-09-26 14:02 ` Olaf Hering
2014-09-26 14:43 ` Jan Beulich
2014-09-26 19:12 ` Konrad Rzeszutek Wilk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1411658423-18877-1-git-send-email-olaf@aepfle.de \
--to=olaf@aepfle.de \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.