cluster ccs/man/Makefile cman/man/Makefile dlm ...
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
ccs/man/Makefile +6 -16
@@ -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
cman/man/Makefile +6 -14
@@ -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
dlm/man/Makefile +20 -24
48 lines not on this page · raw message
fence/man/Makefile +2 -15
@@ -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
gfs/man/Makefile +2 -15
@@ -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
gfs2/man/Makefile +2 -15
@@ -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
gnbd/man/Makefile +2 -15
@@ -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
group/man/Makefile +2 -16
@@ -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
- renamed from make/man.mk +16 -0
@@ -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:
rgmanager/man/Makefile +8 -15
@@ -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