1999
|
1 # |
|
2 # Makefile for octave's doc directory |
|
3 # |
|
4 # John W. Eaton |
|
5 # jwe@bevo.che.wisc.edu |
|
6 # University of Wisconsin-Madison |
|
7 # Department of Chemical Engineering |
|
8 |
|
9 TOPDIR = .. |
|
10 |
|
11 srcdir = @srcdir@ |
|
12 top_srcdir = @top_srcdir@ |
|
13 VPATH = @srcdir@ |
|
14 |
|
15 include $(TOPDIR)/Makeconf |
|
16 |
|
17 INSTALL = @INSTALL@ |
|
18 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
19 INSTALL_DATA = @INSTALL_DATA@ |
|
20 |
|
21 SOURCES = |
|
22 |
5708
|
23 DISTFILES = Makefile.in ChangeLog conf.texi.in conf.texi texinfo.tex |
1999
|
24 |
|
25 SUBDIRS = faq interpreter liboctave refcard |
|
26 |
|
27 DISTSUBDIRS = $(SUBDIRS) |
|
28 |
5708
|
29 all: conf.texi $(SUBDIRS) |
1999
|
30 .PHONY: all |
|
31 |
5708
|
32 conf.texi: conf.texi.in $(TOPDIR)/Makeconf |
|
33 @$(do-subst-texinfo-vals) |
|
34 |
3297
|
35 ../BUGS ../INSTALL.OCTAVE: |
|
36 $(MAKE) -C interpreter ../$@ |
|
37 .PHONY: ../BUGS ../INSTALL.OCTAVE |
2002
|
38 |
1999
|
39 $(SUBDIRS): |
3297
|
40 $(MAKE) -C $@ all |
1999
|
41 .PHONY: $(SUBDIRS) |
|
42 |
2811
|
43 install install-strip uninstall clean mostlyclean distclean maintainer-clean:: |
1999
|
44 @$(subdir-for-command) |
2811
|
45 .PHONY: install install-strip uninstall |
|
46 .PHONY: clean mostlyclean distclean maintainer-clean |
1999
|
47 |
|
48 tags TAGS:: $(SOURCES) |
|
49 $(SUBDIR_FOR_COMMAND) |
|
50 |
|
51 tags:: |
|
52 ctags $(SOURCES) |
|
53 |
|
54 TAGS:: $(SOURCES) |
|
55 etags $(SOURCES) |
|
56 |
|
57 distclean:: |
|
58 rm -f Makefile |
|
59 |
2386
|
60 maintainer-clean:: |
|
61 rm -f tags TAGS Makefile |
1999
|
62 |
5708
|
63 dist: conf.texi |
1999
|
64 ln $(DISTFILES) ../`cat ../.fname`/doc |
3297
|
65 for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; $(MAKE) -C $$dir $@; done |
1999
|
66 .PHONY: dist |