changeset 3364:fac05a83b4c5

[project @ 1999-11-20 03:05:42 by jwe]
author jwe
date Sat, 20 Nov 1999 03:05:45 +0000
parents 9db3ff0b6913
children 7ed630f7b7be
files doc/ChangeLog doc/interpreter/Makefile.in scripts/ChangeLog scripts/Makefile.in src/ChangeLog src/Makefile.in src/defun-dld.h src/defun-int.h src/mkbuiltins src/mkgendoc
diffstat 10 files changed, 38 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Fri Nov 19 21:57:37 1999 +0000
+++ b/doc/ChangeLog	Sat Nov 20 03:05:45 1999 +0000
@@ -1,3 +1,7 @@
+1999-11-19  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* interpreter/Makefile.in (%.texi : %.txi): Suppress command echo.
+
 1999-10-21  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* interpreter/Makefile.in (dist): Remove .texi files first, so
--- a/doc/interpreter/Makefile.in	Fri Nov 19 21:57:37 1999 +0000
+++ b/doc/interpreter/Makefile.in	Sat Nov 20 03:05:45 1999 +0000
@@ -76,10 +76,11 @@
 	$(MAKE) -C $(dir $@) $(notdir $@)
 
 %.texi : %.txi
-	./munge-texi \
+	@echo making $@ from $<
+	@./munge-texi \
 	  -d $(TOPDIR)/src/DOCSTRINGS \
 	  -d $(TOPDIR)/scripts/DOCSTRINGS < $< > $@.t
-	mv $@.t $@
+	@mv $@.t $@
 
 octave.info: $(MAIN_TEXINFO) $(SUB_TEXINFO) ../conf.texi
 	-makeinfo -I$(srcdir) -I$(srcdir)/.. $<
--- a/scripts/ChangeLog	Fri Nov 19 21:57:37 1999 +0000
+++ b/scripts/ChangeLog	Sat Nov 20 03:05:45 1999 +0000
@@ -1,5 +1,7 @@
 1999-11-19  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
+	* Makefile.in (DOCSTRINGS): Don't echo $(ALL_M_FILES).
+
 	* strings/blanks.m: Texinfoize doc string.
 	* strings/strcat.m: Ditto.
 	* strings/str2mat.m: Ditto.
--- a/scripts/Makefile.in	Fri Nov 19 21:57:37 1999 +0000
+++ b/scripts/Makefile.in	Sat Nov 20 03:05:45 1999 +0000
@@ -49,7 +49,6 @@
 .PHONY: $(SUBDIRS)
 
 DOCSTRINGS: gethelp mkdoc $(ALL_M_FILES)
-	echo $(ALL_M_FILES)
 	$(srcdir)/mkdoc $(srcdir) > $@.t
 	mv $@.t $@
 
--- a/src/ChangeLog	Fri Nov 19 21:57:37 1999 +0000
+++ b/src/ChangeLog	Sat Nov 20 03:05:45 1999 +0000
@@ -1,6 +1,13 @@
 1999-11-19  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
+	* defun-int.h (DEFUN_DLD_INTERNAL): New macro.
+	* defun-dld.h [MAKE_BUILTINS] (DEFUN_DLD): Simply expand to
+	DEFUN_DLD_INTERNAL.
+	* mkbuiltins: Generate code to define DEFUN_DLD_INTERNAL.
+	* mkgendoc: Likewise.
+
 	* Makefile.in (gendoc.o): Don't optimize when creating gendoc.
+	(%.dc : %.cc): Delete rule.
 
 	* pt-decl.cc (Vdefault_global_variable_value): Texinofize doc string.
 	* variables.cc (Fclear, Fdocument, Fexist, Fis_global, Fwho): Ditto.
@@ -13,7 +20,6 @@
 	* mappers.cc: (Fisalnum, Fisalpha, Fisascii, Fiscntrl, Fisdigit,
 	Fisgraph, Fislower, Fisprint, Fispunct, Fisspace, Fisupper,
 	Fisxdigit, Ftoascii, Ftolower, Ftoupper): Ditto.
-	
 
 1999-11-18  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
--- a/src/Makefile.in	Fri Nov 19 21:57:37 1999 +0000
+++ b/src/Makefile.in	Sat Nov 20 03:05:45 1999 +0000
@@ -27,12 +27,6 @@
 	  | $(srcdir)/mkdefs > $@.t
 	@mv $@.t $@
 
-%.dc : %.cc
-	@echo making $@ from $<
-	@$(CXXCPP) -c $(CPPFLAGS) $(CXXFLAGS_NO_PT_FLAGS) -DMAKE_DOC $< \
-	  | $(srcdir)/mkdocs > $@.t
-	@mv $@.t $@
-
 # How to make a .oct file from a .o file:
 
 ifeq ($(OCTAVE_LITE), true)
--- a/src/defun-dld.h	Fri Nov 19 21:57:37 1999 +0000
+++ b/src/defun-dld.h	Sat Nov 20 03:05:45 1999 +0000
@@ -41,12 +41,8 @@
 
 #if defined (MAKE_BUILTINS)
 
-#if ! (defined (OCTAVE_LITE) && defined (WITH_DYNAMIC_LINKING))
-
 #define DEFUN_DLD(name, args_name, nargout_name, doc) \
-  DEFUN_INTERNAL (name, args_name, nargout_name, 0, doc)
-
-#endif
+  DEFUN_DLD_INTERNAL (name, args_name, nargout_name, 0, doc)
 
 #else
 
--- a/src/defun-int.h	Fri Nov 19 21:57:37 1999 +0000
+++ b/src/defun-int.h	Sat Nov 20 03:05:45 1999 +0000
@@ -89,13 +89,22 @@
 
 // Generate code to install name in the symbol table.  The script
 // mkdefs will create a .def file for every .cc file that uses DEFUN,
-// DEFUN_TEXT, or DEFUN_DLD.
+// or DEFUN_TEXT.
 
 #define DEFUN_INTERNAL(name, args_name, nargout_name, is_text_fcn, doc) \
   BEGIN_INSTALL_BUILTIN \
     XDEFUN_INTERNAL (name, args_name, nargout_name, is_text_fcn, doc) \
   END_INSTALL_BUILTIN
 
+// Generate code to install name in the symbol table.  The script
+// mkdefs will create a .def file for every .cc file that uses
+// DEFUN_DLD.
+
+#define DEFUN_DLD_INTERNAL(name, args_name, nargout_name, is_text_fcn, doc) \
+  BEGIN_INSTALL_BUILTIN \
+    XDEFUN_DLD_INTERNAL (name, args_name, nargout_name, is_text_fcn, doc) \
+  END_INSTALL_BUILTIN
+
 // Generate code for making another name for an existing function.
 
 #define DEFALIAS_INTERNAL(alias, name) \
--- a/src/mkbuiltins	Fri Nov 19 21:57:37 1999 +0000
+++ b/src/mkbuiltins	Sat Nov 20 03:05:45 1999 +0000
@@ -29,6 +29,13 @@
 #include "oct-obj.h"
 #include "variables.h"
 
+#if defined (OCTAVE_LITE) && defined (WITH_DYNAMIC_LINKING)
+#define XDEFUN_DLD_INTERNAL(name, args_name, nargout_name, is_text_fcn, doc)
+#else
+#define XDEFUN_DLD_INTERNAL(name, args_name, nargout_name, is_text_fcn, doc) \
+  XDEFUN_INTERNAL(name, args_name, nargout_name, is_text_fcn, doc)
+#endif
+
 #define XDEFUN_INTERNAL(name, args_name, nargout_name, is_text_fcn, doc) \
   extern DECLARE_FUN (name, args_name, nargout_name); \
     install_builtin_function (F ## name, #name, doc, is_text_fcn); \
--- a/src/mkgendoc	Fri Nov 19 21:57:37 1999 +0000
+++ b/src/mkgendoc	Sat Nov 20 03:05:45 1999 +0000
@@ -13,11 +13,14 @@
 fi
 
 cat << \EOF
-// DO NOT EDIT!  Generated automatically by mkbuiltins.
+// DO NOT EDIT!  Generated automatically by mkgendoc
 
 #include <iostream.h>
 #include <string>
 
+#define XDEFUN_DLD_INTERNAL(name, args_name, nargout_name, is_text_fcn, doc) \
+  print_doc_string (#name, doc);
+
 #define XDEFUN_INTERNAL(name, args_name, nargout_name, is_text_fcn, doc) \
   print_doc_string (#name, doc);