#
# Makefile to generate boot disks for RedHat-Athena
#

#
# all: build all the files and install some of them as required
# dist: build a complete distribution
# clean: clean up
#
# Parts of "dist" include:
# server: update the server configuration
# bootdisks: build the bootdisks (MUST BE ROOT)

# If you want to set the 'current' RHVERSION, then just uncomment
# the following line:

#FLAGS=RHVERSION=current
FLAGS=

SUBDIRS = install bootdisks server

all::

dist:: all bootdisks

all clean dist::
	for d in $(SUBDIRS); do \
		(cd $${d}; $(MAKE) $(FLAGS) $@); \
	done

server: .touch
	(cd $@; $(MAKE) $(FLAGS) dist)

bootdisks: .touch
	(cd $@; $(MAKE) $(FLAGS) bootdisks)

.touch:

