~ubuntu-branches/debian/sid/octave3.0/sid

« back to all changes in this revision

Viewing changes to doc/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2007-12-23 16:04:15 UTC
  • Revision ID: james.westby@ubuntu.com-20071223160415-n4gk468dihy22e9v
Tags: upstream-3.0.0
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for octave's doc directory
 
2
#
 
3
# Copyright (C) 1996, 1997, 1999, 2000, 2005, 2006, 2007 John W. Eaton
 
4
#
 
5
# This file is part of Octave.
 
6
 
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.
 
11
 
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
 
15
# for more details.
 
16
 
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/>.
 
20
 
 
21
TOPDIR = ..
 
22
 
 
23
srcdir = @srcdir@
 
24
top_srcdir = @top_srcdir@
 
25
abs_top_srcdir = @abs_top_srcdir@
 
26
VPATH = @srcdir@
 
27
 
 
28
include $(TOPDIR)/Makeconf
 
29
 
 
30
INSTALL = @INSTALL@
 
31
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
32
INSTALL_DATA = @INSTALL_DATA@
 
33
 
 
34
SOURCES =
 
35
 
 
36
DISTFILES = $(addprefix $(srcdir)/, Makefile.in ChangeLog conf.texi.in texinfo.tex) conf.texi
 
37
 
 
38
SUBDIRS = faq interpreter liboctave refcard
 
39
 
 
40
DISTSUBDIRS = $(SUBDIRS)
 
41
 
 
42
all: conf.texi $(SUBDIRS)
 
43
.PHONY: all
 
44
 
 
45
conf.texi: conf.texi.in $(TOPDIR)/Makeconf $(top_srcdir)/src/version.h
 
46
        @$(do-subst-texinfo-vals)
 
47
 
 
48
../BUGS ../INSTALL.OCTAVE:
 
49
        $(MAKE) -C interpreter ../$@
 
50
.PHONY: ../BUGS ../INSTALL.OCTAVE
 
51
 
 
52
$(SUBDIRS):
 
53
        $(MAKE) -C $@ all
 
54
.PHONY: $(SUBDIRS)
 
55
 
 
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
 
60
 
 
61
tags TAGS:: $(SOURCES)
 
62
        $(SUBDIR_FOR_COMMAND)
 
63
 
 
64
tags::
 
65
        ctags $(SOURCES)
 
66
 
 
67
TAGS:: $(SOURCES)
 
68
        etags $(SOURCES)
 
69
 
 
70
distclean::
 
71
        rm -f Makefile
 
72
 
 
73
maintainer-clean::
 
74
        rm -f tags TAGS Makefile
 
75
 
 
76
dist: conf.texi
 
77
        ln $(DISTFILES) ../`cat ../.fname`/doc
 
78
        for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; $(MAKE) -C $$dir $@; done
 
79
.PHONY: dist