mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
trim some grey hair
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22959 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3838853990
commit
0baeaadd2b
25
INSTALL
25
INSTALL
@ -284,31 +284,6 @@ the source code directory. After you have installed LyX for one
|
||||
architecture, use `make distclean' before reconfiguring for another
|
||||
architecture.
|
||||
|
||||
Preparing a binary distribution for the use of others
|
||||
------------------------------------------------------
|
||||
|
||||
o Compile LyX with the right compiler switches for your
|
||||
architecture. Make sure you use the --without-latex-config switch
|
||||
of configure, since others might not be interested by your
|
||||
configuration :-)
|
||||
|
||||
o Create a file README.bin describing your distribution and
|
||||
referring to *you* if problems arise. As a model, you can use the
|
||||
file development/tools/README.bin.example, which can be a good
|
||||
starting point.
|
||||
|
||||
o Type `make bindist'. This will create a file
|
||||
lyx-1.xx.yy-bin.tar.gz. Rename it to reflect you architecture
|
||||
and the peculiarities of your build (e.g. static vs. dynamic).
|
||||
|
||||
o Check that everything is correct by unpacking the distribution
|
||||
in some private place and running it. In particular, check the
|
||||
output of `ldd lyx' to know which libraries are really needed.
|
||||
|
||||
o Upload your binary file to ftp.devel.lyx.org:/pub/incoming, and
|
||||
notify larsbj@lyx.org.
|
||||
|
||||
|
||||
Problems
|
||||
--------
|
||||
|
||||
|
25
Makefile.am
25
Makefile.am
@ -27,10 +27,6 @@ EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
|
||||
|
||||
man_MANS = lyx.1
|
||||
|
||||
## Needed by bindist
|
||||
bindistdir=$(PWD)/lyxbin
|
||||
bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
|
||||
|
||||
lyx.1:
|
||||
cp -p $(srcdir)/lyx.man lyx.1
|
||||
|
||||
@ -44,27 +40,6 @@ rpmdist: dist
|
||||
fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
|
||||
rm lyx.png; exit $$saved_status
|
||||
|
||||
bindist:
|
||||
rm -f $(bindistfile)
|
||||
$(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(bindistdir) install-strip
|
||||
if test -f $(top_srcdir)/README.bin ; then \
|
||||
$(INSTALL) $(top_srcdir)/README.bin \
|
||||
$(bindistdir)$(prefix)/README.bin ; \
|
||||
fi
|
||||
(cd $(bindistdir)$(prefix) ; $(AMTAR) cf - . ) | \
|
||||
GZIP=$(GZIP_ENV) gzip > $(bindistfile)
|
||||
-chmod -R a+w $(bindistdir) > /dev/null 2>&1 ; rm -rf $(bindistdir)
|
||||
@if test -f $(top_srcdir)/README.bin ; then \
|
||||
echo "*** Did you remember to check the contents of README.bin?" ; \
|
||||
else \
|
||||
echo "*** WARNING: You did not provide a README.bin file." ; \
|
||||
echo "*** Please make one now from the example file" ; \
|
||||
echo "*** development/tools/README.bin.example" ; \
|
||||
fi
|
||||
@echo "*** It should mention any problem concerning your binary"
|
||||
@echo "*** distribution and refer to *you* in case of problem."
|
||||
@echo "*** $(bindistfile) has been created."
|
||||
|
||||
doxydoc:
|
||||
cd sourcedoc; make doxydoc
|
||||
|
||||
|
@ -12,7 +12,6 @@ tools/convert_kmap.py \
|
||||
tools/generate_symbols_list.py \
|
||||
tools/unicodesymbols.py \
|
||||
tools/x-font \
|
||||
tools/README.bin.example \
|
||||
tools/README \
|
||||
tools/count_total_lines_of_compiled_code.sh \
|
||||
tools/count_lines_of_included_code.sh \
|
||||
|
@ -1,35 +0,0 @@
|
||||
README file for the binary distribution of LyX 1.1.5
|
||||
======================================================
|
||||
|
||||
Please read the file README for general information on LyX.
|
||||
|
||||
To use this binary distribution of LyX, please follow these steps:
|
||||
|
||||
1) Unpack the distribution in the directory /usr/local (if you unpack
|
||||
it in a different place, please read the note below)
|
||||
|
||||
2) Configure LyX for you system by executing
|
||||
cd share/lyx ; ./configure
|
||||
|
||||
3) Make sure that the directory bin/ is in your path. For example, if
|
||||
you unpacked the distribution in /usr/local, your PATH environment
|
||||
variable should contain "/usr/local/bin".
|
||||
|
||||
That's it. Happy LyXing !
|
||||
|
||||
|
||||
If you did not unpack the distribution in /usr/local
|
||||
----------------------------------------------------
|
||||
|
||||
LyX can perfectly work in this situation, except for one thing: as
|
||||
distributed, LyX expects to find its internationalization files in the
|
||||
directory /usr/local/share/locale. If you unpacked the distribution in
|
||||
directory /foo, you should set the environment variable LYX_LOCALEDIR
|
||||
to point to /foo/share/locale as follows:
|
||||
LYX_LOCALEDIR=/foo/share/locale (if you use sh or bash as shell)
|
||||
or
|
||||
setenv LYX_LOCALEDIR /foo/share/locale (for csh or tcsh)
|
||||
|
||||
Note that, if if you do not have any interest in having LyX display
|
||||
its messages in other languages than english, you can safely skip this
|
||||
step.
|
Loading…
Reference in New Issue
Block a user