MODULE_TOPDIR = ../../..

include $(MODULE_TOPDIR)/include/Make/Module.make

default: htmlscript
	if [ ! -d $(GISBASE)/scripts ] ; then $(MKDIR) $(GISBASE)/scripts; fi
	$(INSTALL) -m 755 gis.m $(GISBASE)/scripts
	if [ ! -d $(GISBASE)/etc/gm ] ; then $(MKDIR) $(GISBASE)/etc/gm; fi
	if [ ! -d $(GISBASE)/etc/gm/script/ ] ; then $(MKDIR) $(GISBASE)/etc/gm/script/ ; fi
	$(INSTALL) -m 755 *.tcl $(GISBASE)/etc/gm
	$(INSTALL) -m 644 *.gif $(GISBASE)/etc/gm
	$(INSTALL) -m 755 script/*.* $(GISBASE)/etc/gm/script/

PGM=gis.m
