From ed20354fdbcf8e34f8346728390decc4cff302b1 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 14 Nov 2007 16:39:07 +0000 Subject: add etc back for BSD installing rc and rc.shutdown --- Makefile | 2 +- default.mk | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 28fca014..9d4eaba3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ NAME = openrc VERSION = 1.0pre1 PKG = $(NAME)-$(VERSION) -SUBDIRS = conf.d init.d man net sh src +SUBDIRS = etc conf.d init.d man net sh src ifeq ($(OS),) OS=$(shell uname -s) diff --git a/default.mk b/default.mk index 6cbe1b7a..42851998 100644 --- a/default.mk +++ b/default.mk @@ -20,13 +20,13 @@ install:: $(SUBDIRS_INSTALL) # Hmm ... possible to combine these three and not be ugly ? %_all: - $(MAKE) -C $(patsubst %_all,%,$@) all - if test -d $(patsubst %_all,%,$@).$(OS) ; then $(MAKE) -C $(patsubst %_all,%,$@).$(OS) all ; fi + 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 %_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 %_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 -- cgit v1.2.3