Skip to contentSkip to conversation

master - man: Add install_full_man makefile target.

PATCH Alasdair Kergon 1 participant 1 message Aug 28, 2015 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cc17210bce2cf08015e19caad3bc6a8307c841c8
Commit:        cc17210bce2cf08015e19caad3bc6a8307c841c8
Parent:        e5d99cb9e685ba167f10413694e5d9d34fe90bb0
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Fri Aug 28 13:03:18 2015 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Fri Aug 28 13:03:18 2015 +0100

man: Add install_full_man makefile target.

'make install_full_man' installs all the man pages regardless of which components were enabled when 'configure' was run.

---
 Makefile.in             |    3 +
 WHATS_NEW               |    1 +
 configure               |    8 +--
 configure.in            |   10 ++---
 lib/misc/configure.h.in |   11 +++--
 make.tmpl.in            |    2 +-
 man/Makefile.in         |  114 ++++++++++++++++++++++++----------------------
 7 files changed, 78 insertions(+), 71 deletions(-)
Makefile.in +3 -0
index 35e5d8f..1ce9ca8 100644
@@ -150,6 +150,9 @@ install_systemd_generators:
 install_systemd_units:
 	$(MAKE) -C scripts install_systemd_units
 
+install_full_man:
+	$(MAKE) -C man install_full_man
+
 ifeq ("@PYTHON_BINDINGS@", "yes")
 install_python_bindings:
 	$(MAKE) -C liblvm/python install_python_bindings
WHATS_NEW +1 -0
index 9488e32..b5e8414 100644
@@ -1,5 +1,6 @@
 Version 2.02.130 - 
 ===================================
+  Add 'make install_full_man' to install all man pages regardless of config.
 
 Version 2.02.129 - 26th August 2015
 ===================================
configure +3 -5
index 57bec69..ff914d8 100755
@@ -13870,16 +13870,14 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
-if  test "$CLVMD" != none; then
-	clvmd_prefix=$ac_default_prefix
-	test "$prefix" != NONE && clvmd_prefix=$prefix
-	CLVMD_PATH="$clvmd_prefix/sbin/clvmd"
+clvmd_prefix=$ac_default_prefix
+test "$prefix" != NONE && clvmd_prefix=$prefix
+CLVMD_PATH="$clvmd_prefix/sbin/clvmd"
 
 cat >>confdefs.h <<_ACEOF
 #define CLVMD_PATH "$CLVMD_PATH"
 _ACEOF
 
-fi
 
 ################################################################################
 if test "$BUILD_DMEVENTD" = yes; then
configure.in +4 -6
index 2c89d8c..dfd105a 100644
@@ -1788,12 +1788,10 @@ test "$lvm_exec_prefix" = NONE && lvm_exec_prefix=$ac_default_prefix
 LVM_PATH="$lvm_exec_prefix/sbin/lvm"
 AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.])
 
-if  test "$CLVMD" != none; then
-	clvmd_prefix=$ac_default_prefix
-	test "$prefix" != NONE && clvmd_prefix=$prefix
-	CLVMD_PATH="$clvmd_prefix/sbin/clvmd"
-	AC_DEFINE_UNQUOTED(CLVMD_PATH, ["$CLVMD_PATH"], [Path to clvmd binary.])
-fi
+clvmd_prefix=$ac_default_prefix
+test "$prefix" != NONE && clvmd_prefix=$prefix
+CLVMD_PATH="$clvmd_prefix/sbin/clvmd"
+AC_DEFINE_UNQUOTED(CLVMD_PATH, ["$CLVMD_PATH"], [Path to clvmd binary.])
 
 ################################################################################
 dnl -- dmeventd pidfile and executable path
lib/misc/configure.h.in +7 -4
index 0adb7b1..a21d807 100644
@@ -460,7 +460,7 @@
 /* Define to 1 if you have the `strtoull' function. */
 #undef HAVE_STRTOULL
 
-/* Define to 1 if `st_rdev' is member of `struct stat'. */
+/* Define to 1 if `st_rdev' is a member of `struct stat'. */
 #undef HAVE_STRUCT_STAT_ST_RDEV
 
 /* Define to 1 if you have the <syslog.h> header file. */
@@ -513,12 +513,12 @@
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #undef HAVE_SYS_STAT_H
 
-/* Define to 1 if you have the <sys/time.h> header file. */
-#undef HAVE_SYS_TIME_H
-
 /* Define to 1 if you have the <sys/timerfd.h> header file. */
 #undef HAVE_SYS_TIMERFD_H
 
+/* Define to 1 if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
 /* Define to 1 if you have the <sys/types.h> header file. */
 #undef HAVE_SYS_TYPES_H
 
@@ -643,6 +643,9 @@
 /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME
 
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
make.tmpl.in +1 -1
index 2ce2faf..96889b4 100644
@@ -275,7 +275,7 @@ POTFILES = $(SOURCES:%.c=%.pot)
 .PHONY: all pofile distclean clean cleandir cflow device-mapper
 .PHONY: install install_cluster install_device-mapper install_lvm2
 .PHONY: install_lib_shared install_dm_plugin install_lvm2_plugin
-.PHONY: install_ocf help
+.PHONY: install_ocf install_systemd_generators install_full_man help
 .PHONY: python_bindings install_python_bindings
 .PHONY: $(SUBDIRS) $(SUBDIRS.install) $(SUBDIRS.clean) $(SUBDIRS.distclean)
 .PHONY: $(SUBDIRS.pofile) $(SUBDIRS.install_cluster) $(SUBDIRS.cflow)
man/Makefile.in +59 -55

157 lines not on this page · raw message