# Generated automatically from Makefile.in by configure.

# This is a Makefile for scotty documentation. If it has the name 
# "Makefile.in" then it is a template for a Makefile;  to generate 
# the actual Makefile, run "./configure", which is a configuration 
# script generated by the "autoconf" program (constructs like "@foo@" 
# will get replaced in the actual Makefile.

#----------------------------------------------------------------
# Things you can change to personalize the Makefile for your own
# site (you can make these changes in either Makefile.in or
# Makefile, but changes to Makefile will get lost if you re-run
# the configuration script).
#----------------------------------------------------------------

# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix).  The values specified here may be overridden
# at configure-time with the --exec-prefix and --prefix options
# to the "configure" script.

prefix =	/usr/local
exec_prefix =	${prefix}

# Top-level directory for manual entries:
MAN_DIR =	$(prefix)/man

# Directory in which to install manual entry for scotty and scwish:
MAN1_DIR =	$(MAN_DIR)/man1

# Directory in which to install manual entry for straps:
MAN8_DIR =	$(MAN_DIR)/man8

# Directory in which to install manual entry for msqltcl, cmiptcl:
MANN_DIR =    $(MAN_DIR)/mann

#----------------------------------------------------------------
# The information below is modified by the configure script when
# Makefile is generated from Makefile.in.  You shouldn't normally
# modify any of this stuff by hand.
#----------------------------------------------------------------

INSTALL =		/usr/bin/install -c
INSTALL_PROGRAM =	${INSTALL}
INSTALL_DATA =		${INSTALL} -m 644
SRC_DIR =		.

all:

install: 
	@if [ ! -d $(MAN1_DIR) ] ; then \
		mkdir -p $(MAN1_DIR); \
	else true; \
	fi
	@if [ ! -d $(MAN8_DIR) ] ; then \
		mkdir -p $(MAN8_DIR); \
	else true; \
	fi
	@if [ ! -d $(MANN_DIR) ] ; then \
		mkdir -p $(MANN_DIR); \
	else true; \
	fi
	rm -f $(MAN1_DIR)/scotty.1
	$(INSTALL_DATA) $(SRC_DIR)/scotty.1 $(MAN1_DIR)
	rm -f $(MAN1_DIR)/scwish.1
	$(INSTALL_DATA) $(SRC_DIR)/scwish.1 $(MAN1_DIR)
	rm -f $(MAN8_DIR)/straps.8
	$(INSTALL_DATA) $(SRC_DIR)/straps.8 $(MAN8_DIR)
	rm -f $(MANN_DIR)/msqltcl.n
	$(INSTALL_DATA) $(SRC_DIR)/msqltcl.n $(MANN_DIR)
	rm -f $(MANN_DIR)/cmiptcl.n
	$(INSTALL_DATA) $(SRC_DIR)/cmiptcl.n $(MANN_DIR)
	rm -f $(MANN_DIR)/gdmotcl.n
	$(INSTALL_DATA) $(SRC_DIR)/gdmotcl.n $(MANN_DIR)

clean:
	@rm -f core *~

distclean: clean 
	@rm -f Makefile TAGS *.bak lmake.???

