From: agk@sourceware.org <agk@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./Makefile.in ./WHATS_NEW ./make.tmpl.in ...
Date: 20 May 2010 14:45:20 -0000 [thread overview]
Message-ID: <20100520144520.5880.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2010-05-20 14:45:17
Modified files:
. : Makefile.in WHATS_NEW make.tmpl.in
scripts : Makefile.in
Log message:
Add make install_initscripts
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/Makefile.in.diff?cvsroot=lvm2&r1=1.53&r2=1.54
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1570&r2=1.1571
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/make.tmpl.in.diff?cvsroot=lvm2&r1=1.100&r2=1.101
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/Makefile.in.diff?cvsroot=lvm2&r1=1.17&r2=1.18
--- LVM2/Makefile.in 2010/05/20 13:47:21 1.53
+++ LVM2/Makefile.in 2010/05/20 14:45:14 1.54
@@ -86,6 +86,9 @@
$(INSTALL_ROOT_DIR) $(DESTDIR)$(DEFAULT_LOCK_DIR)
$(INSTALL_ROOT_DATA) /dev/null $(DESTDIR)$(DEFAULT_CACHE_DIR)/.cache
+install_initscripts:
+ $(MAKE) -C scripts install_initscripts
+
LCOV_TRACES = libdm.info lib.info tools.info \
daemons/dmeventd.info daemons/clvmd.info
CLEAN_TARGETS += $(LCOV_TRACES)
--- LVM2/WHATS_NEW 2010/05/20 13:47:21 1.1570
+++ LVM2/WHATS_NEW 2010/05/20 14:45:14 1.1571
@@ -1,6 +1,6 @@
Version 2.02.66 -
===============================
- Add install_system_dirs makefile target.
+ Add install_system_dirs and install_initscripts makefile targets.
Add configure options for system and locking directories.
Generate example.conf so default lvm.conf contents can be configured.
Install lvmconf script by default.
--- LVM2/make.tmpl.in 2010/05/20 13:47:21 1.100
+++ LVM2/make.tmpl.in 2010/05/20 14:45:14 1.101
@@ -90,7 +90,7 @@
# Handle installation of files
ifeq ("@WRITE_INSTALL@", "yes")
# leaving defaults
-M_INSTALL_PROGRAM =
+M_INSTALL_SCRIPT =
M_INSTALL_DATA = -m 644
else
M_INSTALL_PROGRAM = -m 555
@@ -100,8 +100,10 @@
INSTALL_DATA = $(INSTALL) -p $(M_INSTALL_DATA)
INSTALL_WDATA = $(INSTALL) -p -m 644
+INSTALL_DIR = $(INSTALL) -m 0755 -d
INSTALL_ROOT_DIR = $(INSTALL) -m 0700 -d
INSTALL_ROOT_DATA = $(INSTALL) -m 0600
+INSTALL_SCRIPT = $(INSTALL) -p -m $(M_INSTALL_PROGRAM)
.SUFFIXES: .c .d .o .so .a .po .pot .mo .dylib
--- LVM2/scripts/Makefile.in 2010/05/20 11:20:38 1.17
+++ LVM2/scripts/Makefile.in 2010/05/20 14:45:17 1.18
@@ -31,4 +31,15 @@
install: install_lvm2
+# FIXME Customise for other distributions
+install_initscripts:
+ $(INSTALL_DIR) $(DESTDIR)/etc/rc.d/init.d
+ $(INSTALL_SCRIPT) lvm2_monitoring_init_red_hat $(DESTDIR)/etc/rc.d/init.d/lvm2-monitor
+ifneq ("@CLVMD@", "none")
+ $(INSTALL_SCRIPT) clvmd_init_red_hat $(DESTDIR)/etc/rc.d/init.d/clvmd
+endif
+ifeq ("@BUILD_CMIRRORD@", "yes")
+ $(INSTALL_SCRIPT) cmirrord_init_red_hat $(DESTDIR)/etc/rc.d/init.d/cmirrord
+endif
+
DISTCLEAN_TARGETS += clvmd_init_red_hat cmirrord_init_red_hat lvm2_monitoring_init_red_hat
next reply other threads:[~2010-05-20 14:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-20 14:45 agk [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-04-09 21:34 LVM2 ./Makefile.in ./WHATS_NEW ./make.tmpl.in zkabelac
2010-03-29 14:18 zkabelac
2009-09-01 18:11 fabbione
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=20100520144520.5880.qmail@sourceware.org \
--to=agk@sourceware.org \
--cc=lvm-devel@redhat.com \
/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.