From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19112 invoked by alias); 24 Mar 2009 20:37:47 -0000 Received: (qmail 19099 invoked by alias); 24 Mar 2009 20:37:47 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion.fedora.phx.redhat.com Subject: fence-agents: master - build/init: install/create common dirs To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: fence-agents.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 9a58017d523a2a56fd5a060d335500aacbd0dfba X-Git-Newrev: e57da290a2d658060bddebeb4b035cde000db266 From: "Fabio M. Di Nitto" Message-Id: <20090324203636.DFAA61201A0@lists.fedorahosted.org> Date: Tue, 24 Mar 2009 20:37:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00891.txt.bz2 Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=e57da290a2d658060bddebeb4b035cde000db266 Commit: e57da290a2d658060bddebeb4b035cde000db266 Parent: 9a58017d523a2a56fd5a060d335500aacbd0dfba Author: Fabio M. Di Nitto AuthorDate: Tue Mar 24 21:23:48 2009 +0100 Committer: Fabio M. Di Nitto CommitterDate: Tue Mar 24 21:35:59 2009 +0100 build/init: install/create common dirs a bunch of directories need to be created either at install time or by init scripts for the stack to operate properly. Make sure that the basic is all there from upstream. Signed-off-by: Fabio M. Di Nitto --- Makefile | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 7065ecf..18a57b3 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,17 @@ oldconfig: install: set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done + install -d ${notifyddir} + install -d ${logdir} + install -d ${DESTDIR}/var/lib/cluster + install -d ${DESTDIR}/var/run/cluster uninstall: set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done + rmdir ${notifyddir} || :; + rmdir ${logdir} || :; + rmdir ${DESTDIR}/var/lib/cluster || :; + rmdir ${DESTDIR}/var/run/cluster || :; clean: set -e && for i in ${REALSUBDIRS}; do \