add etc back for BSD installing rc and rc.shutdown

This commit is contained in:
Roy Marples 2007-11-14 16:39:07 +00:00
parent 4888f3c97d
commit ed20354fdb
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ NAME = openrc
VERSION = 1.0pre1 VERSION = 1.0pre1
PKG = $(NAME)-$(VERSION) PKG = $(NAME)-$(VERSION)
SUBDIRS = conf.d init.d man net sh src SUBDIRS = etc conf.d init.d man net sh src
ifeq ($(OS),) ifeq ($(OS),)
OS=$(shell uname -s) OS=$(shell uname -s)

View File

@ -20,13 +20,13 @@ install:: $(SUBDIRS_INSTALL)
# Hmm ... possible to combine these three and not be ugly ? # Hmm ... possible to combine these three and not be ugly ?
%_all: %_all:
$(MAKE) -C $(patsubst %_all,%,$@) all if test -d $(patsubst %_all,%,$@); then $(MAKE) -C $(patsubst %_all,%,$@).$(OS) all; fi
if test -d $(patsubst %_all,%,$@).$(OS) ; then $(MAKE) -C $(patsubst %_all,%,$@).$(OS) all ; fi if test -d $(patsubst %_all,%,$@).$(OS); then $(MAKE) -C $(patsubst %_all,%,$@).$(OS) all; fi
%_clean: %_clean:
$(MAKE) -C $(patsubst %_clean,%,$@) clean if test -d $(patsubst %_clean,%,$@) ; then $(MAKE) -C $(patsubst %_clean,%,$@) clean ; fi
if test -d $(patsubst %_clean,%,$@).$(OS) ; then $(MAKE) -C $(patsubst %_clean,%,$@).$(OS) clean ; fi if test -d $(patsubst %_clean,%,$@).$(OS) ; then $(MAKE) -C $(patsubst %_clean,%,$@).$(OS) clean ; fi
%_install: %_install:
$(MAKE) -C $(patsubst %_install,%,$@) install if test -d $(patsubst %_install,%,$@) ; then $(MAKE) -C $(patsubst %_install,%,$@) install ; fi
if test -d $(patsubst %_install,%,$@).$(OS) ; then $(MAKE) -C $(patsubst %_install,%,$@).$(OS) install ; fi if test -d $(patsubst %_install,%,$@).$(OS) ; then $(MAKE) -C $(patsubst %_install,%,$@).$(OS) install ; fi