All of lore.kernel.org
 help / color / mirror / Atom feed
From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster ccs/Makefile cman/Makefile dlm/Makefil ...
Date: 29 Aug 2007 03:09:58 -0000	[thread overview]
Message-ID: <20070829030958.434.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	fabbione at sourceware.org	2007-08-29 03:09:56

Modified files:
	ccs            : Makefile 
	cman           : Makefile 
	dlm            : Makefile 
	dlm/tests      : Makefile 
	fence          : Makefile 
	fence/agents   : Makefile 
	gfs            : Makefile 
	gfs/tests      : Makefile 
	gfs2           : Makefile 
	gnbd           : Makefile 
	gnbd/tools     : Makefile 
	group          : Makefile 
	rgmanager      : Makefile 
	rgmanager/src  : Makefile 
Added files:
	make           : passthrough.mk 

Log message:
	This is the first patch of a long series to collect common Makefile targets
	into their own snippets.
	
	Collect all passthrough operations into make/passthrough.mk.
	
	Update all passthrough Makefiles to use the new snippet.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/Makefile.diff?cvsroot=cluster&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/Makefile.diff?cvsroot=cluster&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/Makefile.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tests/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/Makefile.diff?cvsroot=cluster&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/Makefile.diff?cvsroot=cluster&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/tests/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/Makefile.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/Makefile.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/Makefile.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/make/passthrough.mk.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5

--- cluster/ccs/Makefile	2007/05/02 12:41:50	1.12
+++ cluster/ccs/Makefile	2007/08/29 03:09:53	1.13
@@ -11,13 +11,6 @@
 ###############################################################################
 
 include ../make/defines.mk
+include ../make/passthrough.mk
 
 SUBDIRS=lib daemon ccs_test ccs_tool man
-
-all: ${SUBDIRS}
-
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
--- cluster/cman/Makefile	2007/04/30 11:22:00	1.11
+++ cluster/cman/Makefile	2007/08/29 03:09:53	1.12
@@ -12,13 +12,6 @@
 ###############################################################################
 
 include ../make/defines.mk
+include ../make/passthrough.mk
 
 SUBDIRS=lib cman_tool daemon qdisk init.d man
-
-all: ${SUBDIRS}
-
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
--- cluster/dlm/Makefile	2007/08/17 18:54:01	1.10
+++ cluster/dlm/Makefile	2007/08/29 03:09:53	1.11
@@ -10,10 +10,7 @@
 ###############################################################################
 ###############################################################################
 
-SUBDIRS=lib tool man
+include ../make/defines.mk
+include ../make/passthrough.mk
 
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
+SUBDIRS=lib tool man
--- cluster/dlm/tests/Makefile	2007/08/24 14:10:27	1.1
+++ cluster/dlm/tests/Makefile	2007/08/29 03:09:54	1.2
@@ -10,10 +10,7 @@
 ###############################################################################
 ###############################################################################
 
-SUBDIRS=usertest
+include ../../make/defines.mk
+include ../../make/passthrough.mk
 
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
+SUBDIRS=usertest
--- cluster/fence/Makefile	2007/04/30 11:22:06	1.8
+++ cluster/fence/Makefile	2007/08/29 03:09:54	1.9
@@ -12,13 +12,6 @@
 ###############################################################################
 
 include ../make/defines.mk
+include ../make/passthrough.mk
 
 SUBDIRS=agents fence_node fence_tool fenced man
-
-all: ${SUBDIRS}
-
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
--- cluster/fence/agents/Makefile	2007/05/02 12:39:32	1.17
+++ cluster/fence/agents/Makefile	2007/08/29 03:09:54	1.18
@@ -12,6 +12,7 @@
 ###############################################################################
 
 include ../../make/defines.mk
+include ../../make/passthrough.mk
 
 SUBDIRS = ${fence_agents}
 
--- cluster/gfs/Makefile	2007/04/30 11:22:12	1.11
+++ cluster/gfs/Makefile	2007/08/29 03:09:54	1.12
@@ -12,6 +12,7 @@
 ###############################################################################
 
 include ../make/defines.mk
+include ../make/passthrough.mk
 
 SUBDIRS=libgfs gfs_debug gfs_edit gfs_fsck gfs_grow gfs_jadd gfs_mkfs gfs_quota gfs_tool man init.d
 
@@ -30,4 +31,3 @@
 	if [ "$@" = "uninstall" ]; then \
 		cd ${sbindir}; rm -f mount.gfs umount.gfs; \
 	fi
-		
--- cluster/gfs/tests/Makefile	2007/08/29 02:51:38	1.1
+++ cluster/gfs/tests/Makefile	2007/08/29 03:09:54	1.2
@@ -10,10 +10,7 @@
 ###############################################################################
 ###############################################################################
 
-SUBDIRS=filecon2 mmdd
+include ../make/defines.mk
+include ../make/passthrough.mk
 
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
+SUBDIRS=filecon2 mmdd
--- cluster/gfs2/Makefile	2007/04/30 11:22:15	1.10
+++ cluster/gfs2/Makefile	2007/08/29 03:09:54	1.11
@@ -12,13 +12,6 @@
 ###############################################################################
 
 include ../make/defines.mk
+include ../make/passthrough.mk
 
 SUBDIRS=libgfs2 convert edit fsck mkfs mount quota tool man init.d
-
-all: ${SUBDIRS}
-
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
--- cluster/gnbd/Makefile	2007/04/30 11:22:17	1.4
+++ cluster/gnbd/Makefile	2007/08/29 03:09:54	1.5
@@ -12,13 +12,6 @@
 ###############################################################################
 
 include ../make/defines.mk
+include ../make/passthrough.mk
 
 SUBDIRS=utils client server tools man
-
-all: ${SUBDIRS}
-
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
--- cluster/gnbd/tools/Makefile	2007/04/30 11:22:19	1.3
+++ cluster/gnbd/tools/Makefile	2007/08/29 03:09:55	1.4
@@ -12,13 +12,6 @@
 ###############################################################################
 
 include ../../make/defines.mk
+include ../../make/passthrough.mk
 
 SUBDIRS=fence_gnbd gnbd_export gnbd_import
-
-all: ${SUBDIRS}
-
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
--- cluster/group/Makefile	2007/08/17 18:53:08	1.9
+++ cluster/group/Makefile	2007/08/29 03:09:55	1.10
@@ -10,10 +10,7 @@
 ###############################################################################
 ###############################################################################
 
-SUBDIRS=lib daemon tool dlm_controld gfs_controld man
+include ../make/defines.mk
+include ../make/passthrough.mk
 
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
+SUBDIRS=lib daemon tool dlm_controld gfs_controld man
/cvs/cluster/cluster/make/passthrough.mk,v  -->  standard output
revision 1.1
--- cluster/make/passthrough.mk
+++ -	2007-08-29 03:09:58.596620000 +0000
@@ -0,0 +1,7 @@
+all: ${SUBDIRS}
+
+%:
+	set -e && \
+	for i in ${SUBDIRS}; do \
+		${MAKE} -C $$i $@; \
+	done
--- cluster/rgmanager/Makefile	2007/04/30 11:22:21	1.5
+++ cluster/rgmanager/Makefile	2007/08/29 03:09:55	1.6
@@ -12,13 +12,6 @@
 ###############################################################################
 
 include ../make/defines.mk
+include ../make/passthrough.mk
 
 SUBDIRS=src man init.d
-
-all: ${SUBDIRS}
-
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done
--- cluster/rgmanager/src/Makefile	2007/04/30 11:22:23	1.4
+++ cluster/rgmanager/src/Makefile	2007/08/29 03:09:55	1.5
@@ -12,13 +12,6 @@
 ###############################################################################
 
 include ../../make/defines.mk
+include ../../make/passthrough.mk
 
 SUBDIRS=resources clulib daemons utils
-
-all: ${SUBDIRS}
-
-%:
-	set -e && \
-	for i in ${SUBDIRS}; do \
-		${MAKE} -C $$i $@; \
-	done



                 reply	other threads:[~2007-08-29  3:09 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=20070829030958.434.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.