all man pages now display the current GiNaC version number
[ginac.git] / ginsh / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 bin_PROGRAMS = ginsh
4 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
5 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
6
7 CPPFLAGS = -DIN_GINAC
8 INCLUDES = -I$(srcdir)/../ginac
9 YFLAGS = -d
10
11 man_MANS = ginsh.1
12
13 EXTRA_DIST = ginsh_parser.h ginsh_fcn_help.sed ginsh_op_help.sed
14
15 # files created by sed scripts
16 ginsh_fcn_help.c: ginsh.1 $(srcdir)/ginsh_fcn_help.sed
17         sed -n -f $(srcdir)/ginsh_fcn_help.sed <$< >$@
18
19 ginsh_op_help.c: ginsh.1 $(srcdir)/ginsh_op_help.sed
20         sed -n -f $(srcdir)/ginsh_op_help.sed <$< >$@
21
22 ginsh_parser.o: ginsh_fcn_help.c ginsh_op_help.c