Mercurial > hg > octave-lyh
annotate scripts/Makefile.in @ 8164:0d37c99fc06f
__go_draw_axes__.m: eliminate have_newer_gnuplot variable
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 29 Sep 2008 20:25:42 -0400 |
parents | 21904fe299c8 |
children | f134925a1cfa |
rev | line source |
---|---|
4 | 1 # Makefile for octave's scripts directory |
2 # | |
7017 | 3 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, |
4 # 2003, 2004, 2005, 2006, 2007 John W. Eaton | |
5 # | |
7016 | 6 # This file is part of Octave. |
7 # | |
8 # Octave is free software; you can redistribute it and/or modify it | |
9 # under the terms of the GNU General Public License as published by the | |
10 # Free Software Foundation; either version 3 of the License, or (at | |
11 # your option) any later version. | |
12 # | |
13 # Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 # for more details. | |
17 # | |
18 # You should have received a copy of the GNU General Public License | |
19 # along with Octave; see the file COPYING. If not, see | |
20 # <http://www.gnu.org/licenses/>. | |
4 | 21 |
22 TOPDIR = .. | |
23 | |
686 | 24 script_sub_dir = . |
25 | |
4 | 26 srcdir = @srcdir@ |
409 | 27 top_srcdir = @top_srcdir@ |
4 | 28 VPATH = @srcdir@ |
29 | |
30 include $(TOPDIR)/Makeconf | |
31 | |
651 | 32 INSTALL = @INSTALL@ |
33 INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
34 INSTALL_DATA = @INSTALL_DATA@ | |
35 | |
6283 | 36 SOURCES = |
4 | 37 |
3319 | 38 ALL_M_FILES1 := $(shell find $(srcdir) -name '*.m' -print) |
39 ALL_M_FILES := $(patsubst $(srcdir)/%, %, $(ALL_M_FILES1)) | |
40 | |
6797 | 41 DISTFILES = $(addprefix $(srcdir)/, Makefile.in ChangeLog $(SOURCES) \ |
6796 | 42 configure.in configure mkinstalldirs mkdoc mkpkgadd gethelp.cc \ |
43 skip-autoheader move-if-change) DOCSTRINGS | |
4 | 44 |
7988
21904fe299c8
Remove the control, finance and quaternion toolboxes
David Bateman <dbateman@free.fr>
parents:
7698
diff
changeset
|
45 SUBDIRS = audio deprecated elfun general geometry image io \ |
5812 | 46 linear-algebra miscellaneous optimization path pkg plot polynomial \ |
7988
21904fe299c8
Remove the control, finance and quaternion toolboxes
David Bateman <dbateman@free.fr>
parents:
7698
diff
changeset
|
47 set signal sparse specfun special-matrix startup \ |
5589 | 48 statistics strings testfun time |
686 | 49 |
50 DISTSUBDIRS = $(SUBDIRS) | |
569 | 51 |
688 | 52 FCN_FILES = # $(wildcard $(srcdir)/*.m) |
53 FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES)) | |
4 | 54 |
3295 | 55 all: $(SUBDIRS) DOCSTRINGS |
4 | 56 .PHONY: all |
57 | |
1182 | 58 $(SUBDIRS): |
3297 | 59 $(MAKE) -C $@ all |
1182 | 60 .PHONY: $(SUBDIRS) |
61 | |
4098 | 62 DOCSTRINGS: gethelp$(BUILD_EXEEXT) mkdoc $(ALL_M_FILES) |
3295 | 63 $(srcdir)/mkdoc $(srcdir) > $@.t |
3319 | 64 mv $@.t $@ |
3295 | 65 |
4098 | 66 gethelp$(BUILD_EXEEXT): gethelp.cc |
4298 | 67 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS) |
4093 | 68 |
2811 | 69 install install-strip uninstall clean mostlyclean distclean maintainer-clean:: |
1685 | 70 @$(subdir-for-command) |
2811 | 71 .PHONY: install install-strip uninstall |
72 .PHONY: clean mostlyclean distclean maintainer-clean | |
1182 | 73 |
2811 | 74 install install-strip:: |
4413 | 75 ls -LR $(DESTDIR)$(datadir)/octave > $(DESTDIR)$(datadir)/octave/ls-R |
76 ls -LR $(DESTDIR)$(libexecdir)/octave > $(DESTDIR)$(libexecdir)/octave/ls-R | |
4 | 77 |
1182 | 78 uninstall:: |
4413 | 79 rm -f $(DESTDIR)$(datadir)/octave/ls-R $(DESTDIR)$(libexecdir)/octave/ls-R |
4 | 80 |
1182 | 81 tags TAGS:: $(SOURCES) |
7698
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
82 $(subdir-for-command) |
4 | 83 |
1182 | 84 tags:: |
4 | 85 ctags $(SOURCES) |
86 | |
1182 | 87 TAGS:: $(SOURCES) |
4 | 88 etags $(SOURCES) |
89 | |
5276 | 90 clean distclean maintainer-clean:: |
4098 | 91 rm -f gethelp$(BUILD_EXEEXT) |
3601 | 92 |
5276 | 93 distclean maintainer-clean:: |
4710 | 94 rm -f Makefile config.log config.status DOCSTRINGS |
5527 | 95 rm -rf autom4te.cache |
4 | 96 |
2392 | 97 maintainer-clean:: |
4440 | 98 rm -f tags TAGS configure |
4 | 99 |
100 dist: | |
6467 | 101 ln $(DISTFILES) ../`cat ../.fname`/scripts |
3297 | 102 for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; $(MAKE) -C $$dir $@; done |
4 | 103 .PHONY: dist |
7698
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
104 |
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
105 check-m-sources: |
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
106 @$(subdir-for-command) |
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
107 .PHONY: check-m-sources |