Removed --with-helpdir

This commit is contained in:
Yevgen Muntyan 2007-09-08 01:36:24 -05:00
parent 6fa633271d
commit 1848483c3a
4 changed files with 6 additions and 24 deletions

View File

@ -52,11 +52,6 @@ configure has the following medit-specific options:
By default help files are built and installed if xsltproc can process DocBook
sources, i.e. if both xsltproc and docbook are installed and functional.
--with-helpdir=path install html help to path
Use if you need to override the default ($htmldir). You *must* use
this option if you are going to move the files into another location
after installation, otherwise medit will not find the them.
--without-mooapp
--without-mooedit
These two options are useful only when building standalone libmoo library,

View File

@ -23,15 +23,12 @@ manual.html: manual.docbook manual.xsl
# Standard automake stuff
#
install: install-data
install-data: install-help install-manual
install-help: build-help
$(mkdir_p) $(DESTDIR)$(helpdir)
$(INSTALL_DATA) help/* $(DESTDIR)$(helpdir)/
install-manual: manual.html
$(mkdir_p) $(DESTDIR)$(helpdir)
$(INSTALL_DATA) manual.html $(DESTDIR)$(helpdir)/
install-data: build-help manual.html
$(mkdir_p) $(DESTDIR)$(htmldir)/help
$(INSTALL_DATA) manual.html $(DESTDIR)$(htmldir)/
$(INSTALL_DATA) help/* $(DESTDIR)$(htmldir)/help/
uninstall:
rm -fr $(DESTDIR)$(helpdir)/
rm -fr $(DESTDIR)$(htmldir)/help $(htmldir)/manual.html
clean: mostlyclean
mostlyclean:

View File

@ -57,14 +57,4 @@ AC_DEFUN([MOO_DOCS],[
if test "x$enable_help" = xyes; then
AC_DEFINE(MOO_ENABLE_HELP, [1], [enable help functionality])
fi
AC_ARG_WITH([helpdir],
AC_HELP_STRING([--with-helpdir=path], [Location for html help files]),
[if test "$with_helpdir" = yes -o "$with_helpdir" = no; then
AC_MSG_ERROR("--with-helpdir value must be a path")
fi
helpdir="$with_helpdir"
],[helpdir="$htmldir"])
AC_SUBST(helpdir)
])

View File

@ -228,7 +228,7 @@ AM_CFLAGS = \
$(MOO_CFLAGS) \
$(MOO_DEBUG_CFLAGS) \
-DMOO_LOCALE_DIR=\"$(datadir)/locale\" \
-DMOO_HELP_DIR=\"$(helpdir)\"
-DMOO_HELP_DIR=\"$(htmldir)/help\"
AM_OBJCFLAGS = $(AM_CFLAGS) $(MOO_OBJCFLAGS)
if MOO_INSTALL_HEADERS