Make commands and contrib optional

This commit is contained in:
Ben Gras 2005-09-12 14:17:09 +00:00
parent f7fd32b9e5
commit 768c95ad7d

View File

@ -34,20 +34,20 @@ libraries:
cd lib && $(MAKE) install cd lib && $(MAKE) install
cmds: cmds:
cd commands && $(MAKE) all if [ -f commands/Makefile ] ; then cd commands && $(MAKE) all; fi
bigcmds: bigcmds:
cd commands && $(MAKE) bigall if [ -f commands/Makefile ] ; then cd commands && $(MAKE) bigall; fi
contribs: contribs:
if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) all; fi if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) all; fi
install:: install::
cd commands && $(MAKE) $@ if [ -f commands/Makefile ] ; then cd commands && $(MAKE) install; fi
if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) install; fi if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) install; fi
biginstallcmds:: biginstallcmds::
cd commands && $(MAKE) biginstall if [ -f commands/Makefile ] ; then cd commands && $(MAKE) biginstall; fi
depend:: depend::
mkdep kernel mkdep kernel