From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster fence/agents/baytech/Makefile fence/ag ...
Date: 30 Aug 2007 18:40:39 -0000 [thread overview]
Message-ID: <20070830184039.25825.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2007-08-30 18:40:37
Modified files:
fence/agents/baytech: Makefile
fence/agents/bladecenter: Makefile
fence/agents/brocade: Makefile
fence/agents/bullpap: Makefile
fence/agents/cpint: Makefile
fence/agents/drac: Makefile
fence/agents/egenera: Makefile
fence/agents/ibmblade: Makefile
fence/agents/ilo: Makefile
fence/agents/mcdata: Makefile
fence/agents/sanbox2: Makefile
fence/agents/vixel: Makefile
fence/agents/vmware: Makefile
fence/agents/wti: Makefile
fence/agents/xcat: Makefile
fence/agents/zvm: Makefile
Added files:
make : fenceperl.mk
Log message:
Collect all common make targets for fence/agents written in perl
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/baytech/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/bladecenter/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/brocade/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/bullpap/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/cpint/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/drac/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/egenera/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/ibmblade/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/ilo/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/mcdata/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/sanbox2/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/vixel/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/vmware/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/wti/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xcat/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/zvm/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/make/fenceperl.mk.diff?cvsroot=cluster&r1=NONE&r2=1.1
--- cluster/fence/agents/baytech/Makefile 2007/08/22 08:58:37 1.4
+++ cluster/fence/agents/baytech/Makefile 2007/08/30 18:40:35 1.5
@@ -15,25 +15,4 @@
TARGET= fence_baytech
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/bladecenter/Makefile 2007/08/22 08:58:37 1.6
+++ cluster/fence/agents/bladecenter/Makefile 2007/08/30 18:40:35 1.7
@@ -15,25 +15,4 @@
TARGET= fence_bladecenter
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/brocade/Makefile 2007/08/22 08:58:37 1.5
+++ cluster/fence/agents/brocade/Makefile 2007/08/30 18:40:35 1.6
@@ -15,27 +15,4 @@
TARGET= fence_brocade
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/bullpap/Makefile 2007/08/22 08:58:38 1.6
+++ cluster/fence/agents/bullpap/Makefile 2007/08/30 18:40:35 1.7
@@ -15,27 +15,4 @@
TARGET= fence_bullpap
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/cpint/Makefile 2007/08/22 08:58:38 1.4
+++ cluster/fence/agents/cpint/Makefile 2007/08/30 18:40:35 1.5
@@ -15,27 +15,4 @@
TARGET= fence_cpint
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/drac/Makefile 2007/08/22 08:58:38 1.5
+++ cluster/fence/agents/drac/Makefile 2007/08/30 18:40:36 1.6
@@ -15,25 +15,4 @@
TARGET= fence_drac
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/egenera/Makefile 2007/08/22 08:58:38 1.5
+++ cluster/fence/agents/egenera/Makefile 2007/08/30 18:40:36 1.6
@@ -15,25 +15,4 @@
TARGET= fence_egenera
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/ibmblade/Makefile 2007/08/22 08:58:39 1.4
+++ cluster/fence/agents/ibmblade/Makefile 2007/08/30 18:40:36 1.5
@@ -15,25 +15,4 @@
TARGET= fence_ibmblade
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/ilo/Makefile 2007/08/22 08:58:39 1.5
+++ cluster/fence/agents/ilo/Makefile 2007/08/30 18:40:36 1.6
@@ -15,25 +15,4 @@
TARGET= fence_ilo
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/mcdata/Makefile 2007/08/22 08:58:39 1.5
+++ cluster/fence/agents/mcdata/Makefile 2007/08/30 18:40:36 1.6
@@ -15,27 +15,4 @@
TARGET= fence_mcdata
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/sanbox2/Makefile 2007/08/22 08:58:40 1.5
+++ cluster/fence/agents/sanbox2/Makefile 2007/08/30 18:40:36 1.6
@@ -15,27 +15,4 @@
TARGET= fence_sanbox2
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/vixel/Makefile 2007/08/22 08:58:41 1.5
+++ cluster/fence/agents/vixel/Makefile 2007/08/30 18:40:36 1.6
@@ -15,27 +15,4 @@
TARGET= fence_vixel
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/vmware/Makefile 2007/08/22 08:58:41 1.4
+++ cluster/fence/agents/vmware/Makefile 2007/08/30 18:40:36 1.5
@@ -15,27 +15,4 @@
TARGET= fence_vmware
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/wti/Makefile 2007/08/22 08:58:41 1.5
+++ cluster/fence/agents/wti/Makefile 2007/08/30 18:40:36 1.6
@@ -15,26 +15,4 @@
TARGET= fence_wti
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/xcat/Makefile 2007/08/22 08:58:41 1.4
+++ cluster/fence/agents/xcat/Makefile 2007/08/30 18:40:37 1.5
@@ -15,27 +15,4 @@
TARGET= fence_xcat
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
--- cluster/fence/agents/zvm/Makefile 2007/08/22 08:58:41 1.4
+++ cluster/fence/agents/zvm/Makefile 2007/08/30 18:40:37 1.5
@@ -15,27 +15,4 @@
TARGET= fence_zvm
-all: $(TARGET)
-
-$(TARGET): $(TARGET).pl
- : > $(TARGET)
- awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
- echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
- ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
- awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
- chmod +x $(TARGET)
-
-install: all
- if [ ! -d ${sbindir} ]; then \
- install -d ${sbindir}; \
- fi
- install -m755 ${TARGET} ${sbindir}
-
-uninstall:
- ${UNINSTALL} ${TARGET} ${sbindir}
-
-clean:
- rm -f $(TARGET)
-
-
+include ../../../make/fenceperl.mk
/cvs/cluster/cluster/make/fenceperl.mk,v --> standard output
revision 1.1
--- cluster/make/fenceperl.mk
+++ - 2007-08-30 18:40:39.952259000 +0000
@@ -0,0 +1,35 @@
+###############################################################################
+###############################################################################
+##
+## Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
+## Copyright (C) 2004 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+###############################################################################
+###############################################################################
+
+all: $(TARGET)
+
+$(TARGET): $(TARGET).pl
+ : > $(TARGET)
+ awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TARGET).pl >> $(TARGET)
+ echo "\$$RELEASE_VERSION=\"${RELEASE_VERSION}\";" >> $(TARGET)
+ ${DEF2VAR} ${BUILDDIR}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
+ echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+ awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TARGET).pl >> $(TARGET)
+ chmod +x $(TARGET)
+
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
+
+uninstall:
+ ${UNINSTALL} ${TARGET} ${sbindir}
+
+clean:
+ rm -f $(TARGET)
reply other threads:[~2007-08-30 18:40 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=20070830184039.25825.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.