From 8c33411c58487a9fcb761c3367ce78d38edc07e3 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 31 Oct 2001 01:55:50 +0000 Subject: [PATCH] - ginsh_fcn_help/ginsh_op_help.c are renamed to *.h and now placed in the build directory, not the source directory --- Makefile.am | 2 +- ginsh/Makefile.am | 6 +++--- ginsh/ginsh_parser.yy | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 54fb5868..360d34d4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/ginsh/Makefile.am b/ginsh/Makefile.am index 43179778..99fa0b24 100644 --- a/ginsh/Makefile.am +++ b/ginsh/Makefile.am @@ -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 diff --git a/ginsh/ginsh_parser.yy b/ginsh/ginsh_parser.yy index bcd963b9..dcb24ab8 100644 --- a/ginsh/ginsh_parser.yy +++ b/ginsh/ginsh_parser.yy @@ -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); -- 2.44.0