# These variables are configurable.
#---------------------------------------#
DIRS := Introduction Commands Concepts Server Subjects
#---------------------------------------#

.PHONY: all depend clean dependall cleanall

include ../make/GenMakefile
include ../make/InfoMakefile

# Productions:
#	all: Make everything
#	depend: Modify the makefiles to reflect the local setup.
#	dependall: Make depend in all the directories.
#	cleanall: Make clean in all the directories.
#	archall: (If the ARCH env var is set).  mkdir $ARCH in all subdirs.

all: dirs

clean:
	rm -f $(INFODST)/*

dependall:
	$(MAKE) COMMAND=depend recursive

cleanall:
	$(MAKE) COMMAND=clean recursive

install:
	
ifdef ARCH
depend:
	@-mkdir $(ARCH)

archall:
	$(MAKE) COMMAND=arch recursive
endif
