[EMAIL PROTECTED] writes: > Author: lasgouttes > Date: Mon Feb 11 17:54:12 2008 > New Revision: 22946 > > URL: http://www.lyx.org/trac/changeset/22946 > Log: > remove some dust from INSTALL instructions
I would like also to remove the historical 'bindist' target from the makefile (first in trunk, and then in branch for 1.5.5). Would anyone object to that? Note that I do not even expect anybody to know what I am speaking about, but I ask just in case... JMarc
svndiff Makefile.am INSTALL development Index: Makefile.am =================================================================== --- Makefile.am (revision 22945) +++ Makefile.am (working copy) @@ -27,10 +27,6 @@ EXTRA_DIST = ANNOUNCE INSTALL.autoconf R 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 Index: INSTALL =================================================================== --- INSTALL (revision 22945) +++ INSTALL (working copy) @@ -284,31 +284,6 @@ the source code directory. After you ha 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 [EMAIL PROTECTED] - - Problems -------- Index: development/tools/README.bin.example =================================================================== --- development/tools/README.bin.example (revision 22945) +++ development/tools/README.bin.example (working copy) @@ -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. Index: development/Makefile.am =================================================================== --- development/Makefile.am (revision 22945) +++ development/Makefile.am (working copy) @@ -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 \