1
# Makefile for octave's doc directory
3
# Copyright (C) 1996, 1997, 1999, 2000, 2005, 2006, 2007 John W. Eaton
5
# This file is part of Octave.
7
# Octave is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by the
9
# Free Software Foundation; either version 3 of the License, or (at
10
# your option) any later version.
12
# Octave is distributed in the hope that it will be useful, but WITHOUT
13
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17
# You should have received a copy of the GNU General Public License
18
# along with Octave; see the file COPYING. If not, see
19
# <http://www.gnu.org/licenses/>.
24
top_srcdir = @top_srcdir@
25
abs_top_srcdir = @abs_top_srcdir@
28
include $(TOPDIR)/Makeconf
31
INSTALL_PROGRAM = @INSTALL_PROGRAM@
32
INSTALL_DATA = @INSTALL_DATA@
36
DISTFILES = $(addprefix $(srcdir)/, Makefile.in ChangeLog conf.texi.in texinfo.tex) conf.texi
38
SUBDIRS = faq interpreter liboctave refcard
40
DISTSUBDIRS = $(SUBDIRS)
42
all: conf.texi $(SUBDIRS)
45
conf.texi: conf.texi.in $(TOPDIR)/Makeconf $(top_srcdir)/src/version.h
46
@$(do-subst-texinfo-vals)
48
../BUGS ../INSTALL.OCTAVE:
49
$(MAKE) -C interpreter ../$@
50
.PHONY: ../BUGS ../INSTALL.OCTAVE
56
install install-strip uninstall clean mostlyclean distclean maintainer-clean::
57
@$(subdir-for-command)
58
.PHONY: install install-strip uninstall
59
.PHONY: clean mostlyclean distclean maintainer-clean
61
tags TAGS:: $(SOURCES)
74
rm -f tags TAGS Makefile
77
ln $(DISTFILES) ../`cat ../.fname`/doc
78
for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; $(MAKE) -C $$dir $@; done