SHELL=/bin/sh
# Run the installation tests.
# This is done AFTER installation, so we don't set the path.
test: installed multiple-dir mult-newinst demo

SETTER=\
	INDENT="==$$INDENT";\
	export INDENT

FORCE:

# Note that failure of the first test will cause rest of suite to stop.

installed: FORCE
	@${SETTER}; cd $@; echo "$$INDENT" " $@/"; make $(TARGET)

multiple-dir: FORCE
	-@${SETTER}; cd $@; echo "$$INDENT" " $@/"; make $(TARGET)

mult-newinst: FORCE
	-@${SETTER}; cd $@; echo "$$INDENT" " $@/"; make $(TARGET)

demo: FORCE
	-@${SETTER}; cd $@; echo "$$INDENT" " $@/"; make $(TARGET)


clean:
	-@make "TARGET=clean"
	-@rm -f \#*\# *~
