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 |
2701
|
23 DISTFILES = Makefile.in ChangeLog conf.texi texinfo.tex |
1999
|
24 |
|
25 SUBDIRS = faq interpreter liboctave refcard |
|
26 |
|
27 DISTSUBDIRS = $(SUBDIRS) |
|
28 |
|
29 all: $(SUBDIRS) |
|
30 .PHONY: all |
|
31 |
3297
|
32 ../BUGS ../INSTALL.OCTAVE: |
|
33 $(MAKE) -C interpreter ../$@ |
|
34 .PHONY: ../BUGS ../INSTALL.OCTAVE |
2002
|
35 |
1999
|
36 $(SUBDIRS): |
3297
|
37 $(MAKE) -C $@ all |
1999
|
38 .PHONY: $(SUBDIRS) |
|
39 |
2811
|
40 install install-strip uninstall clean mostlyclean distclean maintainer-clean:: |
1999
|
41 @$(subdir-for-command) |
2811
|
42 .PHONY: install install-strip uninstall |
|
43 .PHONY: clean mostlyclean distclean maintainer-clean |
1999
|
44 |
|
45 tags TAGS:: $(SOURCES) |
|
46 $(SUBDIR_FOR_COMMAND) |
|
47 |
|
48 tags:: |
|
49 ctags $(SOURCES) |
|
50 |
|
51 TAGS:: $(SOURCES) |
|
52 etags $(SOURCES) |
|
53 |
|
54 distclean:: |
|
55 rm -f Makefile |
|
56 |
2386
|
57 maintainer-clean:: |
|
58 rm -f tags TAGS Makefile |
1999
|
59 |
|
60 dist: |
|
61 ln $(DISTFILES) ../`cat ../.fname`/doc |
3297
|
62 for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; $(MAKE) -C $$dir $@; done |
1999
|
63 .PHONY: dist |