Removed --with-helpdir
This commit is contained in:
parent
6fa633271d
commit
1848483c3a
5
INSTALL
5
INSTALL
@ -52,11 +52,6 @@ configure has the following medit-specific options:
|
|||||||
By default help files are built and installed if xsltproc can process DocBook
|
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.
|
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-mooapp
|
||||||
--without-mooedit
|
--without-mooedit
|
||||||
These two options are useful only when building standalone libmoo library,
|
These two options are useful only when building standalone libmoo library,
|
||||||
|
@ -23,15 +23,12 @@ manual.html: manual.docbook manual.xsl
|
|||||||
# Standard automake stuff
|
# Standard automake stuff
|
||||||
#
|
#
|
||||||
install: install-data
|
install: install-data
|
||||||
install-data: install-help install-manual
|
install-data: build-help manual.html
|
||||||
install-help: build-help
|
$(mkdir_p) $(DESTDIR)$(htmldir)/help
|
||||||
$(mkdir_p) $(DESTDIR)$(helpdir)
|
$(INSTALL_DATA) manual.html $(DESTDIR)$(htmldir)/
|
||||||
$(INSTALL_DATA) help/* $(DESTDIR)$(helpdir)/
|
$(INSTALL_DATA) help/* $(DESTDIR)$(htmldir)/help/
|
||||||
install-manual: manual.html
|
|
||||||
$(mkdir_p) $(DESTDIR)$(helpdir)
|
|
||||||
$(INSTALL_DATA) manual.html $(DESTDIR)$(helpdir)/
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -fr $(DESTDIR)$(helpdir)/
|
rm -fr $(DESTDIR)$(htmldir)/help $(htmldir)/manual.html
|
||||||
|
|
||||||
clean: mostlyclean
|
clean: mostlyclean
|
||||||
mostlyclean:
|
mostlyclean:
|
||||||
|
@ -57,14 +57,4 @@ AC_DEFUN([MOO_DOCS],[
|
|||||||
if test "x$enable_help" = xyes; then
|
if test "x$enable_help" = xyes; then
|
||||||
AC_DEFINE(MOO_ENABLE_HELP, [1], [enable help functionality])
|
AC_DEFINE(MOO_ENABLE_HELP, [1], [enable help functionality])
|
||||||
fi
|
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)
|
|
||||||
])
|
])
|
||||||
|
@ -228,7 +228,7 @@ AM_CFLAGS = \
|
|||||||
$(MOO_CFLAGS) \
|
$(MOO_CFLAGS) \
|
||||||
$(MOO_DEBUG_CFLAGS) \
|
$(MOO_DEBUG_CFLAGS) \
|
||||||
-DMOO_LOCALE_DIR=\"$(datadir)/locale\" \
|
-DMOO_LOCALE_DIR=\"$(datadir)/locale\" \
|
||||||
-DMOO_HELP_DIR=\"$(helpdir)\"
|
-DMOO_HELP_DIR=\"$(htmldir)/help\"
|
||||||
AM_OBJCFLAGS = $(AM_CFLAGS) $(MOO_OBJCFLAGS)
|
AM_OBJCFLAGS = $(AM_CFLAGS) $(MOO_OBJCFLAGS)
|
||||||
|
|
||||||
if MOO_INSTALL_HEADERS
|
if MOO_INSTALL_HEADERS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user