summaryrefslogtreecommitdiff
path: root/man/Makefile.in
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2015-09-15 13:14:16 +0100
committerAlasdair G Kergon <agk@redhat.com>2015-09-15 13:14:16 +0100
commit548c09acfca8970cafe74f43e1944b5f20f540be (patch)
tree0424397afce933804091942ccb6bbbdd39ae173c /man/Makefile.in
parent2ce8ee0214c84a4afd12589bbe2fe521c2518b87 (diff)
downloadlvm2-548c09acfca8970cafe74f43e1944b5f20f540be.tar.gz
man: Add all_man Makefile target.
Use 'make all_man' to generate all man pages (regardless of configuration options) or 'make install_all_man' to install them.
Diffstat (limited to 'man/Makefile.in')
-rw-r--r--man/Makefile.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/man/Makefile.in b/man/Makefile.in
index 6ddbaa9e8..6ef7186b2 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -42,7 +42,15 @@ MAN8DM=dmsetup.8 dmstats.8
MAN8CLUSTER=
MAN8SYSTEMD_GENERATORS=lvm2-activation-generator.8
-ifeq ($(MAKECMDGOALS),install_full_man)
+ifeq ($(MAKECMDGOALS),all_man)
+ MAN_ALL="yes"
+endif
+
+ifeq ($(MAKECMDGOALS),install_all_man)
+ MAN_ALL="yes"
+endif
+
+ifeq ($(MAN_ALL),"yes")
MAN8+=$(FSADMMAN) $(LVMETADMAN) $(LVMPOLLDMAN) $(LVMLOCKDMAN)
MAN8DM+=$(BLKDEACTIVATEMAN) $(DMEVENTDMAN)
MAN8CLUSTER+=$(CLVMDMAN) $(CMIRRORDMAN)
@@ -109,6 +117,8 @@ device-mapper: $(MAN8DM)
man: $(MAN5) $(MAN7) $(MAN8) $(MAN8CLUSTER) $(MAN8SYSTEMD_GENERATORS)
+all_man: man
+
$(MAN5) $(MAN7) $(MAN8) $(MAN8DM) $(MAN8CLUSTER): Makefile
Makefile: Makefile.in
@@ -150,4 +160,4 @@ install_systemd_generators: $(MAN8SYSTEMD_GENERATORS)
install: install_lvm2 install_device-mapper install_cluster
-install_full_man: install install_systemd_generators
+install_all_man: install install_systemd_generators