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

# ./Make.common.in	 -*- Makefile -*-

# LSM date, release date (man pages), version number
#
LSMDATE=27SEP96#
FULLDATE="27 September 1996"#
VERSION=2.19#
VERNAME=rxvt-$(VERSION)#

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=/packages/rxvt-xx' to accomplish
# that.
# DESTDIR = /usr/local/X11/$(VERNAME)

# Installation target directories & other installation stuff
prefix = /usr/X11R6
exec_prefix = ${prefix}
binprefix =
manprefix =
bindir = ${exec_prefix}/bin
mandir = ${prefix}/man/man1
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 = -O2
CPPFLAGS = 
LDFLAGS = 
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 Make.common
basedir = $(srcdir)/..
thisdir = doc

first_rule: all
dummy:

#
# Distribution variables
#

DIST =	Makefile.in README.greek README.xvt FAQ TODO changes.txt\
	rxvt.ref xterm.seq rxvt.1.in LSM.in

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

all:	alldoc

rxvt.1: rxvt.1.in
	sed 's%@VERSION@%$(VERSION)%g; s%@FULLDATE@%$(FULLDATE)%g' $@.in > $@

LSM: LSM.in
	sed 's%@VERSION@%$(VERSION)%g; s%@LSMDATE@%$(LSMDATE)%g' $@.in > $@

tags allbin:

alldoc:	rxvt.1 LSM

clean:
	$(RMF) LSM rxvt.1 *~

realclean: clean

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

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

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

distdirs:
	mkdir $(basedir)/../$(VERNAME)/$(thisdir)

distcopy: LSM
	$(CP) $(DIST) $(basedir)/../$(VERNAME)/$(thisdir)
	$(CP) LSM $(basedir)/../$(VERNAME)/$(VERNAME).lsm

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