- ginsh_fcn_help/ginsh_op_help.c are renamed to *.h and now placed in the
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 31 Oct 2001 01:55:50 +0000 (01:55 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 31 Oct 2001 01:55:50 +0000 (01:55 +0000)
  build directory, not the source directory

Makefile.am
ginsh/Makefile.am
ginsh/ginsh_parser.yy

index 54fb586..360d34d 100644 (file)
@@ -16,7 +16,7 @@ m4datadir = $(datadir)/aclocal
 m4data_DATA = ginac.m4
 
 # All the rest of the distributed files
-EXTRA_DIST = ginac.m4 GiNaC.spec
+EXTRA_DIST = ginac.m4 GiNaC.spec depcomp
 
 # Rule to build tar-bzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
index 4317977..99fa0b2 100644 (file)
@@ -12,10 +12,10 @@ man_MANS = ginsh.1
 EXTRA_DIST = ginsh_parser.h ginsh_fcn_help.sed ginsh_op_help.sed
 
 # files created by sed scripts
-$(srcdir)/ginsh_fcn_help.c: ginsh.1 $(srcdir)/ginsh_fcn_help.sed
+ginsh_fcn_help.h: ginsh.1 $(srcdir)/ginsh_fcn_help.sed
        sed -n -f $(srcdir)/ginsh_fcn_help.sed <$< >$@
 
-$(srcdir)/ginsh_op_help.c: ginsh.1 $(srcdir)/ginsh_op_help.sed
+ginsh_op_help.h: ginsh.1 $(srcdir)/ginsh_op_help.sed
        sed -n -f $(srcdir)/ginsh_op_help.sed <$< >$@
 
-ginsh_parser.o: $(srcdir)/ginsh_fcn_help.c $(srcdir)/ginsh_op_help.c
+ginsh_parser.o: ginsh_fcn_help.h ginsh_op_help.h
index bcd963b..dcb24ab 100644 (file)
@@ -810,10 +810,10 @@ int main(int argc, char **argv)
 
        // Init help for operators (automatically generated from man page)
        insert_help("operators", "Operators in falling order of precedence:");
-#include "ginsh_op_help.c"
+#include "ginsh_op_help.h"
 
        // Init help for built-in functions (automatically generated from man page)
-#include "ginsh_fcn_help.c"
+#include "ginsh_fcn_help.h"
 
        // Help for GiNaC functions is added manually
        insert_help(builtin_help);