mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
let autoconf generate lyx.1; add information on LIBDIR there (not sure it is actully useful)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
45312b5f49
commit
ac620455d1
@ -2,8 +2,6 @@ include $(top_srcdir)/config/common.am
|
|||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4 -I config
|
ACLOCAL_AMFLAGS = -I m4 -I config
|
||||||
|
|
||||||
DISTCLEANFILES += lyx.1
|
|
||||||
|
|
||||||
MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
|
MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
|
||||||
$(srcdir)/config.h.in
|
$(srcdir)/config.h.in
|
||||||
|
|
||||||
@ -23,14 +21,10 @@ SUBDIRS = config development intl po $(BOOST) src sourcedoc lib \
|
|||||||
|
|
||||||
EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
|
EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
|
||||||
INSTALL.Win32 INSTALL.MacOSX INSTALL.scons INSTALL.cmake \
|
INSTALL.Win32 INSTALL.MacOSX INSTALL.scons INSTALL.cmake \
|
||||||
README.Win32 README.Cygwin README.localization lyx.man autogen.sh
|
README.Win32 README.Cygwin README.localization lyx.1in autogen.sh
|
||||||
|
|
||||||
man_MANS = lyx.1
|
man_MANS = lyx.1
|
||||||
|
|
||||||
lyx.1:
|
|
||||||
sed -e "s/LYX_DIR_VER/$(LYX_DIR_VER)/g" \
|
|
||||||
-e "s/LYX_USERDIR_VER/$(LYX_USERDIR_VER)/g" $(srcdir)/lyx.man > lyx.1
|
|
||||||
|
|
||||||
rpmdist: dist
|
rpmdist: dist
|
||||||
$(LN_S) $(srcdir)/lib/images/lyx.png . ; \
|
$(LN_S) $(srcdir)/lib/images/lyx.png . ; \
|
||||||
if [ -z "`type -path rpmbuild`" ]; \
|
if [ -z "`type -path rpmbuild`" ]; \
|
||||||
|
@ -313,6 +313,7 @@ AC_SUBST(AM_CPPFLAGS)
|
|||||||
AC_SUBST(AM_CXXFLAGS)
|
AC_SUBST(AM_CXXFLAGS)
|
||||||
AC_SUBST(AM_CFLAGS)
|
AC_SUBST(AM_CFLAGS)
|
||||||
AC_SUBST(AM_LDFLAGS)
|
AC_SUBST(AM_LDFLAGS)
|
||||||
|
AC_SUBST(real_pkgdatadir)
|
||||||
|
|
||||||
## Some config.h stuff
|
## Some config.h stuff
|
||||||
|
|
||||||
@ -458,7 +459,8 @@ AC_DEFINE_UNQUOTED([LYX_MINOR_VERSION],$lyx_minor,[Minor version number])
|
|||||||
AC_DEFINE_UNQUOTED([LYX_RELEASE_LEVEL],$lyx_release,[Release version number])
|
AC_DEFINE_UNQUOTED([LYX_RELEASE_LEVEL],$lyx_release,[Release version number])
|
||||||
AC_DEFINE_UNQUOTED([LYX_RELEASE_PATCH],$lyx_patch,[Patch version number])
|
AC_DEFINE_UNQUOTED([LYX_RELEASE_PATCH],$lyx_patch,[Patch version number])
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile \
|
||||||
|
lyx.1:lyx.1in \
|
||||||
boost/Makefile \
|
boost/Makefile \
|
||||||
config/Makefile \
|
config/Makefile \
|
||||||
development/Makefile \
|
development/Makefile \
|
||||||
|
@ -83,13 +83,13 @@ The system directory is determined by searching for the file
|
|||||||
.br
|
.br
|
||||||
1) \-sysdir command line parameter
|
1) \-sysdir command line parameter
|
||||||
.br
|
.br
|
||||||
2) LYX_DIR_VER environment variable
|
2) @LYX_DIR_VER@ environment variable
|
||||||
.br
|
.br
|
||||||
3) Maybe <path of binary>/TOP_SRCDIR/lib
|
3) Maybe <path of binary>/TOP_SRCDIR/lib
|
||||||
.br
|
.br
|
||||||
4) <path of binary>/../share/<name of binary>/
|
4) <path of binary>/../share/<name of binary>/
|
||||||
.br
|
.br
|
||||||
5) hardcoded lyx_dir (usually /usr/local/share/lyx on UNIX)
|
5) hardcoded lyx_dir (at build time: @real_pkgdatadir@)
|
||||||
.TP
|
.TP
|
||||||
.B LYX_USERDIR_VER
|
.B LYX_USERDIR_VER
|
||||||
can be used to specify which user directory to use.
|
can be used to specify which user directory to use.
|
||||||
@ -98,7 +98,7 @@ The user directory is, in order of precedence:
|
|||||||
.br
|
.br
|
||||||
1) \-userdir command line parameter
|
1) \-userdir command line parameter
|
||||||
.br
|
.br
|
||||||
2) LYX_USERDIR_VER environment variable
|
2) @LYX_USERDIR_VER@ environment variable
|
||||||
.br
|
.br
|
||||||
3) $HOME/.<name of binary> if no explicit setting is made
|
3) $HOME/.<name of binary> if no explicit setting is made
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ strings in other languages.
|
|||||||
.fi
|
.fi
|
||||||
|
|
||||||
.I LIBDIR
|
.I LIBDIR
|
||||||
is the system directory. This is usually /usr/local/share/lyx on UNIX.
|
is the system directory. This was at build time @real_pkgdatadir@.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
tex2lyx(1), latex(1).
|
tex2lyx(1), latex(1).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user