Did I forget to commit those? Targets for documentation.

SVN revision: 5580
This commit is contained in:
cpk 2001-10-26 20:03:35 +00:00 committed by cpk
parent e1adf3911d
commit 37fba3aa09
3 changed files with 55 additions and 6 deletions

View File

@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = src debian
SUBDIRS = src debian doc
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
config.h.in config.sub configure install-sh \
@ -23,3 +23,13 @@ EXTRA_DIST = README AUTHORS COPYING ecore.m4 ecore.spec
m4datadir = $(datadir)/aclocal
m4data_DATA = ecore.m4
docs:
$(MAKE) -C $(top_srcdir)/doc docs
if HAVE_JADE
html-docs:
$(MAKE) -C $(top_srcdir)/doc html-docs
endif

View File

@ -1,6 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(configure.in)
AC_INIT
AC_CONFIG_SRCDIR([configure.in])
AM_INIT_AUTOMAKE(ecore, 0.0.2)
AM_CONFIG_HEADER(config.h)
@ -78,12 +79,32 @@ AC_SUBST(x_includes)
AC_SUBST(x_ldflags)
AC_SUBST(x_libs)
AC_OUTPUT([
dnl Checking for Perl:
AC_PATH_PROG(PERL,perl,0)
AC_SUBST(PERL)
dnl Look for jade for sgml translations.
AC_ARG_WITH(dbsheets,
[ --with-dbsheets=DIR use DIR to specify your DocBook stylesheets installation path.],
DB_STYLESHEETS="$withval", DB_STYLESHEETS="/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh")
AC_SUBST(DB_STYLESHEETS)
AC_PATH_PROG(JADE, jade)
AM_CONDITIONAL(HAVE_JADE, test "x$JADE" != "x" && test -d "$DB_STYLESHEETS")
AC_CONFIG_FILES([
Makefile
ecore-config
src/Makefile
debian/Makefile
], [
doc/Makefile
doc/kernel-doc
doc/html-customizations.dsl
])
AC_CONFIG_COMMANDS([default],[[
chmod +x ecore-config
]
)
chmod +x doc/kernel-doc
]],[[]])
AC_OUTPUT

View File

@ -78,12 +78,30 @@ AC_SUBST(x_includes)
AC_SUBST(x_ldflags)
AC_SUBST(x_libs)
dnl Checking for Perl:
AC_PATH_PROG(PERL,perl,0)
AC_SUBST(PERL)
dnl Look for jade for sgml translations.
AC_ARG_WITH(dbsheets,
[ --with-dbsheets=DIR use DIR to specify your DocBook stylesheets installation path.],
DB_STYLESHEETS="$withval", DB_STYLESHEETS="/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh")
AC_SUBST(DB_STYLESHEETS)
AC_PATH_PROG(JADE, jade)
AM_CONDITIONAL(HAVE_JADE, test "x$JADE" != "x" && test -d "$DB_STYLESHEETS")
AC_OUTPUT([
Makefile
ecore-config
src/Makefile
debian/Makefile
doc/Makefile
doc/kernel-doc
doc/html-customizations.dsl
], [
chmod +x ecore-config
chmod +x doc/kernel-doc
]
)