Mercurial > octave-nkf
comparison octMakefile.in @ 3004:9a54159563de
[project @ 1997-05-23 05:00:49 by jwe]
author | jwe |
---|---|
date | Fri, 23 May 1997 05:03:17 +0000 |
parents | 91589ab98e37 |
children | 9ce32027e269 |
comparison
equal
deleted
inserted
replaced
3003:9e01b476cf79 | 3004:9a54159563de |
---|---|
29 SENDING-PATCHES THANKS move-if-change octave-sh octave-bug.in \ | 29 SENDING-PATCHES THANKS move-if-change octave-sh octave-bug.in \ |
30 install-octave mkinstalldirs mkoctfile.in texi2dvi INFO.PATCH \ | 30 install-octave mkinstalldirs mkoctfile.in texi2dvi INFO.PATCH \ |
31 MAKEINFO.PATCH ChangeLog ChangeLog.[0-9] | 31 MAKEINFO.PATCH ChangeLog ChangeLog.[0-9] |
32 | 32 |
33 # Complete directory trees to distribute. | 33 # Complete directory trees to distribute. |
34 DISTDIRS = glob kpathsea make # plplot | 34 DISTDIRS = glob kpathsea # plplot |
35 | 35 |
36 # Subdirectories in which to run `make all'. | 36 # Subdirectories in which to run `make all'. |
37 SUBDIRS = @INFO_DIR@ @PLPLOT_DIR@ @READLINE_DIR@ @DLFCN_DIR@ glob \ | 37 SUBDIRS = @INFO_DIR@ @PLPLOT_DIR@ @READLINE_DIR@ @DLFCN_DIR@ glob \ |
38 kpathsea libcruft liboctave src scripts doc examples | 38 kpathsea libcruft liboctave src scripts doc examples |
39 | |
40 | |
41 # Subdirectories in which to run `make all'. | |
42 INSTALL_SUBDIRS = @INFO_DIR@ libcruft liboctave src scripts doc examples | |
39 | 43 |
40 # Subdirectories in which to run `make conf-dist'. | 44 # Subdirectories in which to run `make conf-dist'. |
41 CONF_DISTSUBDIRS = src | 45 CONF_DISTSUBDIRS = src |
42 | 46 |
43 # Subdirectories in which to run `make dist'. | 47 # Subdirectories in which to run `make dist'. |
100 cd doc ; $(MAKE) ../BUGS | 104 cd doc ; $(MAKE) ../BUGS |
101 .PHONY: BUGS | 105 .PHONY: BUGS |
102 | 106 |
103 install install-strip :: | 107 install install-strip :: |
104 $(top_srcdir)/mkinstalldirs $(DIRS_TO_MAKE) | 108 $(top_srcdir)/mkinstalldirs $(DIRS_TO_MAKE) |
109 rm -f $(bindir)/octave-bug | |
105 $(INSTALL_SCRIPT) octave-bug $(bindir)/octave-bug-$(version) | 110 $(INSTALL_SCRIPT) octave-bug $(bindir)/octave-bug-$(version) |
106 cd $(bindir) ; $(LN_S) octave-bug-$(version) octave-bug | 111 cd $(bindir) ; $(LN_S) octave-bug-$(version) octave-bug |
112 rm -f $(bindir)/mkoctfile | |
107 $(INSTALL_SCRIPT) mkoctfile $(bindir)/mkoctfile-$(version) | 113 $(INSTALL_SCRIPT) mkoctfile $(bindir)/mkoctfile-$(version) |
108 cd $(bindir) ; $(LN_S) mkoctfile-$(version) mkoctfile | 114 cd $(bindir) ; $(LN_S) mkoctfile-$(version) mkoctfile |
109 $(INSTALL_DATA) config.h $(octincludedir)/config.h | 115 $(INSTALL_DATA) config.h $(octincludedir)/config.h |
116 $(mk-includedir-link) | |
110 | 117 |
111 maintainer-clean:: | 118 maintainer-clean:: |
112 @echo "" | 119 @echo "" |
113 @echo "************************************************************" | 120 @echo "************************************************************" |
114 @echo "* *" | 121 @echo "* *" |
117 @echo "* *" | 124 @echo "* *" |
118 @echo "************************************************************" | 125 @echo "************************************************************" |
119 @echo "" | 126 @echo "" |
120 | 127 |
121 install install-strip uninstall tags TAGS:: | 128 install install-strip uninstall tags TAGS:: |
122 @$(subdir-for-command) | 129 $(foreach d, $(INSTALL_SUBDIRS), $(do-subdir-for-command)) |
123 .PHONY: install install-strip uninstall tags | 130 .PHONY: install install-strip uninstall tags |
124 | 131 |
125 clean mostlyclean distclean maintainer-clean:: | 132 clean mostlyclean distclean maintainer-clean:: |
126 $(foreach d, $(CLEANSUBDIRS), $(do-subdir-for-command)) | 133 $(foreach d, $(CLEANSUBDIRS), $(do-subdir-for-command)) |
127 .PHONY: clean mostlyclean distclean maintainer-clean | 134 .PHONY: clean mostlyclean distclean maintainer-clean |