# Generated automatically from Makefile.in by configure.
# Makefile for GNU gettext documentation.
# Copyright (C) 1995 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

PACKAGE = gettext
VERSION = 0.10

SHELL = /bin/sh
srcdir = .
top_srcdir = ..

INSTALL = c:/djgpp/bin/ginstall -c 
INSTALL_DATA = ${INSTALL} -m 644
MAKEINFO = makeinfo --no-split 
TEXI2DVI = texi2dvi
TOUCH = echo timestamp >

DISTFILES = ChangeLog Makefile.in mdate-sh gettext.info \
gettext.texi stamp-vti texinfo.tex version.texi nls.texi

prefix = $(DJDIR)
infodir = $(prefix)/info
subdir = doc

.SUFFIXES:

default: all

all info check: gettext.info

gettext.info: gettext.texi version.texi
	cd $(srcdir) && rm -f gettext.info* && $(MAKEINFO) gettext.texi

dvi: gettext.dvi

gettext.dvi: gettext.texi texinfo.tex version.texi
	$(TEXI2DVI) $(srcdir)/gettext.texi

version.texi: stamp-vti
stamp-vti: gettext.texi $(top_srcdir)/configure.in
	echo "@set EDITION $(VERSION)" > version.tmp
	echo "@set UPDATED `cd $(srcdir) && $(SHELL) mdate-sh gettext.texi`" \
		>> version.tmp
	echo "@set VERSION $(VERSION)" >> version.tmp
	if cmp -s version.tmp $(srcdir)/version.texi; then \
	  rm -f version.tmp; \
	else \
	  rm -f $(srcdir)/version.texi \
	    && mv -f version.tmp $(srcdir)/version.texi; \
	fi
	rm -f $(srcdir)/stamp-vti && $(TOUCH) $(srcdir)/stamp-vti

install install-src: install-exec install-data
install-exec:
install-data: all
	$(top_srcdir)/mkinstalldirs $(infodir)
	$(INSTALL_DATA) ./gettext.info $(infodir)/gettext.inf

uninstall:
	rm -f $(infodir)/gettext.info*

TAGS ID:

mostlyclean:
	rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
	rm -f *.tmp

clean: mostlyclean

distclean: clean
	rm -f Makefile

maintainer-clean: distclean
	@echo "This command is intended only for maintainers to use;"
	@echo "rebuilding the deleted files may require special tools."
	cd $(srcdir) && rm -f stamp-vti version.texi gettext.info*

distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
dist dist-gettext: Makefile $(DISTFILES)
	for file in $(DISTFILES); do \
	  ln $(srcdir)/$$file $(distdir) 2> /dev/null \
	    || cp -p $(srcdir)/$$file $(distdir); \
	done

Makefile: Makefile.in ../config.status
	cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status

# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

