# Generated automatically from Makefile.in by configure.
#
# Makefile for octave's doc directory
#
# John W. Eaton
# jwe@che.utexas.edu
# Department of Chemical Engineering
# The University of Texas at Austin

SHELL = /bin/sh

#### Start of system configuration section. ####

srcdir = .
VPATH = .

# install.

INSTALL = /usr/bin/install -c
INSTALL_DATA = $(INSTALL) -m 644

INCFLAGS = -I.
LIBFLAGS = -L$(TOPDIR) 
DEFS =  -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DF77_APPEND_UNDERSCORE=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -DRETSIGTYPE=void -DHAVE_TERMIO_H=1

# cc and associated flags.

CC = gcc
CFLAGS = $(CDEBUG) $(COPTIMIZE) $(INCFLAGS) $(DEFS) $(XCFLAGS)
CDEBUG = #-g -Wall
COPTIMIZE = -O2 -m486

prefix = /usr/local
exec_prefix = $(prefix)

# Where to install the executables.
bindir = $(exec_prefix)/bin

# Where to put mvdir, if your system lacks the rename system call.
libdir = $(exec_prefix)/lib/octave

# Where to put the manual pages.
mandir = $(prefix)/man/man1
# Extension (not including `.') for the installed manual page filenames.
manext = 1

# Where to put the info files.
infodir = $(prefix)/info

# Where to put extra data files, system-wide startup files, etc.
datadir = $(prefix)/lib/octave

#### End of system configuration section. ####

SOURCES =

OBJECTS = 

MANFILES = octave.1

DISTFILES = Makefile.in $(SOURCES) $(MANFILES) octave.info \
	octave.texi gpl.texi invoke.texi install.texi bugs.texi \
	texinfo.tex install1.texi bugs1.texi

all: octave.info
.PHONY: all

octave.info: octave.texi install.texi bugs.texi
	-makeinfo -I$(srcdir) octave.texi

../INSTALL.OCTAVE: install1.texi install.texi
	-makeinfo --no-header -I$(srcdir)/doc install1.texi
	-mv INSTALL ../INSTALL.OCTAVE

../BUGS: bugs1.texi bugs.texi
	-makeinfo --no-header -I$(srcdir)/doc bugs1.texi
	-mv BUGS ../BUGS

check: all
.PHONY: check

install: all
	if test -d $(mandir) ; then true ; else mkdir $(mandir) ; fi
	if test -d $(mandir) ; then \
	    for f in $(MANFILES) ; do \
		rm -f $(libdir)/$$f ; \
		sed -e 's,@LIBDIR@,$(libdir),' $(srcdir)/$$f > tmp ; \
		$(INSTALL_DATA) tmp $(mandir)/`basename $$f 1`$(manext) ; \
		rm -f tmp ; \
	    done ; \
	fi
.PHONY: install

uninstall:
	for f in $(MANFILES) ; do \
		rm -f $(mandir)/`basename $$f 1`$(manext) ; \
	done
.PHONY: uninstall

tags: $(SOURCES)
	ctags $(SOURCES)

TAGS: $(SOURCES)
	etags $(SOURCES)

clean:
	rm -f *.info *.info-* octave.cp octave.fn octave.ky \
	octave.pg octave.tp octave.vr octave.aux octave.log \
	octave.toc octave.dvi 
.PHONY: clean

mostlyclean:
	rm -f *.info *.info-*
.PHONY: mostlyclean

distclean: clean
	rm -f Makefile
.PHONY: distclean

realclean: distclean
	rm -f tags TAGS
.PHONY: realclean

local-dist: octave.info
	ln $(DISTFILES) ../`cat ../.fname`/doc
.PHONY: local-dist

dist: octave.info
	ln $(DISTFILES) ../`cat ../.fname`/doc
.PHONY: dist
