Skip to content

Commit

Permalink
build/init: install/create common dirs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
fabbione committed Mar 24, 2009
1 parent 0824da6 commit a8ae02c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,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 \
Expand Down

0 comments on commit a8ae02c

Please sign in to comment.