CUR_REL_PATH := "config_template"

include ../config.mk

SUBDIRS := extraspdf init

all \
depend \
clean \
test  \
cleanexe:
	$(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@;)

install:
	$(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@;)
	if [ ! -d ${IRIS_CONFIG_TMPL}/listings ]; then \
	 	install -m 6775 -o ${IRIS_USER} -g ${IRIS_GROUP} -d ${IRIS_CONFIG_TMPL}/listings; fi


uninstall:
	$(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@;)
	if [ -d ${IRIS_CONFIG_TMPL}/listings ]; then rm -rf ${IRIS_CONFIG_TMPL}/listings; fi
