From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster ccs/man/Makefile cman/man/Makefile dlm ...
Date: 21 Dec 2007 18:37:18 -0000 [thread overview]
Message-ID: <20071221183718.29230.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2007-12-21 18:37:16
Modified files:
ccs/man : Makefile
cman/man : Makefile
dlm/man : Makefile
fence/man : Makefile
gfs/man : Makefile
gfs2/man : Makefile
gnbd/man : Makefile
group/man : Makefile
rgmanager/man : Makefile
Added files:
make : man.mk
Log message:
Collaps all man Makefile's common snippets into man/man.mk
Change all man Makefile's to use it.
From now on it will be enough to source make/man.mk and add a TARGET=
with the man page.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/man/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/man/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/man/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/man/Makefile.diff?cvsroot=cluster&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/man/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/man/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/man/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/man/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/make/man.mk.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/man/Makefile.diff?cvsroot=cluster&r1=1.7&r2=1.8
--- cluster/ccs/man/Makefile 2007/12/20 22:09:56 1.5
+++ cluster/ccs/man/Makefile 2007/12/21 18:37:15 1.6
@@ -12,20 +12,10 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-install:
- install -d ${mandir}/man5
- install -d ${mandir}/man7
- install -d ${mandir}/man8
- install $(S)/cluster.conf.5 ${mandir}/man5
- install $(S)/ccs.7 ${mandir}/man7
- install $(S)/ccsd.8 $(S)/ccs_test.8 $(S)/ccs_tool.8 ${mandir}/man8
-
-uninstall:
- ${UNINSTALL} cluster.conf.5 ${mandir}/man5
- ${UNINSTALL} ccs.7 ${mandir}/man7
- ${UNINSTALL} ccsd.8 ccs_test.8 ccs_tool.8 ${mandir}/man8
-
-all:
-
-clean:
+TARGET= cluster.conf.5 \
+ ccs.7 \
+ ccsd.8 \
+ ccs_test.8 \
+ ccs_tool.8
--- cluster/cman/man/Makefile 2007/12/20 22:09:57 1.5
+++ cluster/cman/man/Makefile 2007/12/21 18:37:15 1.6
@@ -12,18 +12,10 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-all:
-
-clean:
-
-install:
- install -d ${mandir}/man5
- install -d ${mandir}/man8
- install $(S)/cman.5 $(S)/qdisk.5 ${mandir}/man5
- install $(S)/cman_tool.8 $(S)/qdiskd.8 $(S)/mkqdisk.8 ${mandir}/man8
-
-uninstall:
- ${UNINSTALL} cman.5 qdisk.5 ${mandir}/man5
- ${UNINSTALL} cman_tool.8 qdiskd.8 mkqdisk.8 ${mandir}/man8
-
+TARGET= cman.5 \
+ qdisk.5 \
+ cman_tool.8 \
+ qdiskd.8 \
+ mkqdisk.8
--- cluster/dlm/man/Makefile 2007/12/20 22:09:57 1.6
+++ cluster/dlm/man/Makefile 2007/12/21 18:37:15 1.7
@@ -11,28 +11,24 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-TARGET3 = dlm_cleanup.3 dlm_lock_wait.3 dlm_open_lockspace.3 \
- dlm_close_lockspace.3 dlm_ls_lock.3 dlm_pthread_init.3 \
- dlm_create_lockspace.3 dlm_ls_lock_wait.3 dlm_release_lockspace.3 \
- dlm_dispatch.3 dlm_ls_pthread_init.3 dlm_unlock.3 \
- dlm_get_fd.3 dlm_ls_unlock.3 dlm_unlock_wait.3 \
- dlm_lock.3 dlm_ls_unlock_wait.3 libdlm.3
-
-TARGET8 = dlm_tool.8
-
-all:
-
-clean:
-
-install:
- install -d ${mandir}/man3
- for i in ${TARGET3}; do \
- install $(S)/$$i ${mandir}/man3; \
- done
- install -d ${mandir}/man8
- install $(S)/${TARGET8} ${mandir}/man8
-
-uninstall:
- ${UNINSTALL} ${TARGET3} ${mandir}/man3
- ${UNINSTALL} ${TARGET8} ${mandir}/man8
+TARGET= dlm_cleanup.3 \
+ dlm_lock_wait.3 \
+ dlm_open_lockspace.3 \
+ dlm_close_lockspace.3 \
+ dlm_ls_lock.3 \
+ dlm_pthread_init.3 \
+ dlm_create_lockspace.3 \
+ dlm_ls_lock_wait.3 \
+ dlm_release_lockspace.3 \
+ dlm_dispatch.3 \
+ dlm_ls_pthread_init.3 \
+ dlm_unlock.3 \
+ dlm_get_fd.3 \
+ dlm_ls_unlock.3 \
+ dlm_unlock_wait.3 \
+ dlm_lock.3 \
+ dlm_ls_unlock_wait.3 \
+ libdlm.3 \
+ dlm_tool.8
--- cluster/fence/man/Makefile 2007/12/20 22:09:59 1.12
+++ cluster/fence/man/Makefile 2007/12/21 18:37:15 1.13
@@ -12,9 +12,9 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-TARGET8= \
- fence.8 \
+TARGET= fence.8 \
fence_ack_manual.8 \
fence_apc.8 \
fence_rsa.8 \
@@ -36,16 +36,3 @@
fence_xvm.8 \
fence_xvmd.8 \
fenced.8
-
-all:
-
-clean:
-
-install:
- install -d ${mandir}/man8
- for i in ${TARGET8}; do \
- install $(S)/$$i ${mandir}/man8; \
- done
-
-uninstall:
- ${UNINSTALL} ${TARGET8} ${mandir}/man8
--- cluster/gfs/man/Makefile 2007/12/20 22:10:00 1.5
+++ cluster/gfs/man/Makefile 2007/12/21 18:37:15 1.6
@@ -12,9 +12,9 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-TARGET8= \
- gfs.8 \
+TARGET= gfs.8 \
gfs_mount.8 \
gfs_fsck.8 \
gfs_grow.8 \
@@ -22,16 +22,3 @@
gfs_mkfs.8 \
gfs_quota.8 \
gfs_tool.8
-
-all:
-
-clean:
-
-install:
- install -d ${mandir}/man8
- for i in ${TARGET8}; do \
- install $(S)/$$i ${mandir}/man8; \
- done
-
-uninstall:
- ${UNINSTALL} ${TARGET8} ${mandir}/man8
--- cluster/gfs2/man/Makefile 2007/12/20 22:10:01 1.5
+++ cluster/gfs2/man/Makefile 2007/12/21 18:37:16 1.6
@@ -12,9 +12,9 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-TARGET8= \
- gfs2.8 \
+TARGET= gfs2.8 \
gfs2_convert.8 \
gfs2_edit.8 \
gfs2_fsck.8 \
@@ -24,16 +24,3 @@
gfs2_quota.8 \
gfs2_tool.8 \
mkfs.gfs2.8
-
-all:
-
-clean:
-
-install:
- install -d ${mandir}/man8
- for i in ${TARGET8}; do \
- install $(S)/$$i ${mandir}/man8; \
- done
-
-uninstall:
- ${UNINSTALL} ${TARGET8} ${mandir}/man8
--- cluster/gnbd/man/Makefile 2007/12/20 22:10:02 1.5
+++ cluster/gnbd/man/Makefile 2007/12/21 18:37:16 1.6
@@ -12,23 +12,10 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-TARGET8= \
- gnbd.8 \
+TARGET= gnbd.8 \
gnbd_export.8 \
gnbd_import.8 \
gnbd_serv.8 \
fence_gnbd.8
-
-all:
-
-clean:
-
-install:
- install -d ${mandir}/man8
- for i in ${TARGET8}; do \
- install $(S)/$$i ${mandir}/man8; \
- done
-
-uninstall:
- ${UNINSTALL} ${TARGET8} ${mandir}/man8
--- cluster/group/man/Makefile 2007/12/20 22:10:04 1.2
+++ cluster/group/man/Makefile 2007/12/21 18:37:16 1.3
@@ -11,23 +11,9 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-TARGET8 = \
- dlm_controld.8 \
+TARGET= dlm_controld.8 \
gfs_controld.8 \
group_tool.8 \
groupd.8
-
-all:
-
-clean:
-
-install:
- install -d ${mandir}/man8
- for i in ${TARGET8}; do \
- install $(S)/$$i ${mandir}/man8; \
- done
-
-uninstall:
- ${UNINSTALL} ${TARGET8} ${mandir}/man8
-
/cvs/cluster/cluster/make/man.mk,v --> standard output
revision 1.1
--- cluster/make/man.mk
+++ - 2007-12-21 18:37:17.859892000 +0000
@@ -0,0 +1,16 @@
+install:
+ for i in ${TARGET}; do \
+ p=`echo $$i | sed -e 's#.*\.##g'`; \
+ install -d ${mandir}/man$$p; \
+ install $(S)/$$i ${mandir}/man$$p; \
+ done
+
+uninstall:
+ for i in ${TARGET}; do \
+ p=`echo $$i | sed -e 's#.*\.##g'`; \
+ ${UNINSTALL} $$i ${mandir}/man$$p; \
+ done
+
+all:
+
+clean:
--- cluster/rgmanager/man/Makefile 2007/12/20 22:10:04 1.7
+++ cluster/rgmanager/man/Makefile 2007/12/21 18:37:16 1.8
@@ -12,21 +12,14 @@
###############################################################################
include ../../make/defines.mk
+include $(OBJDIR)/make/man.mk
-TARGETS = clubufflush.8 clufindhostname.8 clulog.8 \
- clurgmgrd.8 clurmtabd.8 clustat.8 clusvcadm.8
-
-all:
-
-clean:
+TARGET= clubufflush.8 \
+ clufindhostname.8 \
+ clulog.8 \
+ clurgmgrd.8 \
+ clurmtabd.8 \
+ clustat.8 \
+ clusvcadm.8
check:
-
-install:
- install -d ${mandir}/man8
- for i in ${TARGET8}; do \
- install $(S)/$$i ${mandir}/man8; \
- done
-
-uninstall:
- ${UNINSTALL} ${TARGETS} ${mandir}/man8
reply other threads:[~2007-12-21 18:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20071221183718.29230.qmail@sourceware.org \
--to=fabbione@sourceware.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.