# Generated automatically from Makefile.in by configure.
# doc/Makefile.in	-*- Makefile -*-

# autoconf/Make.common.in	 -*- Makefile -*-
# release date (man), LSM date, version number/name, current maintainer
DATE="12 September 1997"#
VERSION="DR-0.7"#
VERSION_NUM=0.7
VERNAME="Eterm-$(VERSION)"#
MAINT=Tuomo Venalainen (vendu@cc.hut.fi) and Michael Jennings (mej@tcserv.com)
#-------------------------------------------------------------------------
srcdir = .

SHELL = /bin/sh

# This variable makes it possible to move the installation root to another
# directory. This is useful when you're creating a binary distribution
# If empty, normal root will be used.
# You can run eg. 'make install DESTDIR=/opt/Eterm-XX' to accomplish
# that.
# DESTDIR = /usr/local/X11/$(VERNAME)

# Installation target directories & other installation stuff
prefix = /usr/local
exec_prefix = ${prefix}
binprefix =
manprefix =
bindir = ${exec_prefix}/bin
mandir = ${prefix}/man/man1
themedir = /usr/local/lib/Eterm/themes
manext = 1

# Tools & program stuff
CC = gcc
CPP = gcc -E
RM = /bin/rm
RMF = /bin/rm -f
CP = /bin/cp
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = /usr/bin/install -c -s -m 755
INSTALL_DATA = /usr/bin/install -c -m 644

# Flags & libs
# add -DBINDIR=\""$(bindir)/"\" to CPPFLAGS, if we need to spawn a program

CFLAGS = -O
CPPFLAGS =  -I../libmej -I.. -I${prefix}/include -I/usr/local/include
LDFLAGS =  -L../libmej -L${prefix}/lib -L/usr/local/lib
DEFS = -DHAVE_CONFIG_H
LIBS = 

# X Include directory
XINC =  -I/usr/X11R6/include

# extra libraries needed by X on some systems, X library location
XLIB =  -L/usr/X11R6/lib  -lSM -lICE -lX11 

# End of common section of the Makefile
#-------------------------------------------------------------------------
basedir = $(srcdir)/..
thisdir = doc

first_rule: all
dummy:

#
# Distribution variables
#

DIST =	Makefile.in README.greek README.xvt FAQ \
	Eterm.ref xterm.seq Eterm.1.in \
	colortest.sh Eterm.tcap Eterm.ti


#-------------------------------------------------------------------------

all:	alldoc

Eterm.1: Eterm.1.in
	sed 's%@VERSION@%$(VERSION)%g;s%@DATE@%$(DATE)%g;s%@MAINT@%$(MAINT)%g' $@.in > $@

tags allbin:

alldoc:	Eterm.1

clean:
	$(RMF) Eterm.1 *~

realclean: clean

distclean:
	(cd $(srcdir); $(RMF) Eterm.1 *~)
	(cd $(srcdir); $(RMF) Makefile)

install: alldoc
	$(INSTALL_DATA) Eterm.1 $(DESTDIR)$(mandir)/$(manprefix)Eterm.$(manext)

uninstall:
	-cd $(mandir); $(RMF) $(manprefix)Eterm.$(manext)

distdirs:
	../autoconf/mkinstalldirs $(basedir)/../$(VERNAME)/$(thisdir)

distcopy: 
	if test -f Eterm.html; then \
	$(CP) Eterm.html $(basedir)/../$(VERNAME)/Eterm-$(VERSION).html; \
	fi

# ------------------------------------------------------------------------
