New manual page for ecl-config

This commit is contained in:
jjgarcia 2006-03-06 09:47:45 +00:00
parent 0374889740
commit ce29069fdb
5 changed files with 36 additions and 2 deletions

View file

@ -77,6 +77,8 @@ ECL 0.9i
- Included support for multithreading under Windows/Cygwin (Thanks to Arthur
Smyles for pointing out the differences from Linux's pthreads)
- New manual file for 'ecl-config' contributed by Peter Van Eynde.
* Errors fixed:
- The intermediate output of the compiler is written in the directory in which

3
src/configure vendored
View file

@ -9862,7 +9862,7 @@ echo "$as_me: Configuring included GMP library:" >&6;}
fi
ac_config_files="$ac_config_files bare.lsp lsp/load.lsp clos/load.lsp cmp/load.lsp ../Makefile Makefile c/Makefile doc/Makefile doc/ecl.man ecl/configpre.h:h/config.h.in bin/ecl-config.pre:util/ecl-config lsp/config.pre:lsp/config.lsp.in compile.pre:compile.lsp.in cmp/cmpdefs.pre:cmp/cmpdefs.lsp"
ac_config_files="$ac_config_files bare.lsp lsp/load.lsp clos/load.lsp cmp/load.lsp ../Makefile Makefile c/Makefile doc/Makefile doc/ecl.man doc/ecl-config.man ecl/configpre.h:h/config.h.in bin/ecl-config.pre:util/ecl-config lsp/config.pre:lsp/config.lsp.in compile.pre:compile.lsp.in cmp/cmpdefs.pre:cmp/cmpdefs.lsp"
ac_config_headers="$ac_config_headers ecl/config.h:ecl/configpre.h"
# FIXME
@ -10400,6 +10400,7 @@ do
"c/Makefile" ) CONFIG_FILES="$CONFIG_FILES c/Makefile" ;;
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"doc/ecl.man" ) CONFIG_FILES="$CONFIG_FILES doc/ecl.man" ;;
"doc/ecl-config.man" ) CONFIG_FILES="$CONFIG_FILES doc/ecl-config.man" ;;
"ecl/configpre.h" ) CONFIG_FILES="$CONFIG_FILES ecl/configpre.h:h/config.h.in" ;;
"bin/ecl-config.pre" ) CONFIG_FILES="$CONFIG_FILES bin/ecl-config.pre:util/ecl-config" ;;
"lsp/config.pre" ) CONFIG_FILES="$CONFIG_FILES lsp/config.pre:lsp/config.lsp.in" ;;

View file

@ -507,7 +507,7 @@ fi
AC_CONFIG_FILES([
bare.lsp lsp/load.lsp clos/load.lsp cmp/load.lsp
../Makefile Makefile c/Makefile doc/Makefile doc/ecl.man
../Makefile Makefile c/Makefile doc/Makefile doc/ecl.man doc/ecl-config.man
ecl/configpre.h:h/config.h.in bin/ecl-config.pre:util/ecl-config
lsp/config.pre:lsp/config.lsp.in compile.pre:compile.lsp.in
cmp/cmpdefs.pre:cmp/cmpdefs.lsp

View file

@ -57,6 +57,7 @@ install: all
done
$(mkinstalldirs) $(DESTDIR)$(mandir)/man$(manext)
$(INSTALL_DATA) ecl.man $(DESTDIR)$(mandir)/man$(manext)/ecl.$(manext)
$(INSTALL_DATA) ecl-config.man $(DESTDIR)$(mandir)/man$(manext)/ecl-config.$(manext)
flatinstall: all $(HTML_FILES)
$(mkinstalldirs) $(DESTDIR)$(docdir)
for k in $(INFO_FILES); do $(INSTALL_DATA) $$k $(DESTDIR)$(docdir); done

30
src/doc/ecl-config.man.in Normal file
View file

@ -0,0 +1,30 @@
.TH ECL-CONFIG 1 04/03/06
.SH NAME
ecl-config \- Embeddable Common LISP configuration query
.SH SYNOPSIS
\fBecl\-config\fP
[\fB\-cflags]
[\fB\-libs]
[\fB\-ldflags]
[\fB LIBS]
.SH DESCRIPTION
ecl\-config will return through the standard output the set
of compiler or linker flags needed to build applications that
embed ecl.
.SH OPTIONS
.TP
.BI \-cflags
Output the flags required to compile a C/C++ file.
.TP
.B \-libs
.TP
.B \-ldflags
Return the linker flags required to build a C/C++ application or shared library.
.TP
.B LIBS
When also using
.B \-ldflags
also add the cmp (compiler) library.
.SH "BUGS"
Probably some. Report them!