From: Lars Gullik Bjønnes Date: Sun, 7 Apr 2002 15:35:07 +0000 (+0000) Subject: newbindist target X-Git-Tag: 1.6.10~19471 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5860b2930cffdf6d76f16f4622b34fd8767408d0;p=lyx.git newbindist target git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3934 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/Makefile.am b/Makefile.am index 75ec2980d0..60f348f3b4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,7 @@ EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \ man_MANS = lyx.1 ## Needed by bindist -bindistdir=lyxbin +bindistdir=$(PWD)/lyxbin bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz lyx.1: @@ -54,6 +54,28 @@ bindist: @echo "*** $(bindistfile) has been created." +newbindist: + 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 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: sourcedoc/Doxyfile cd sourcedoc; \ doxygen ./Doxyfile