mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
newbindist target
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3934 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a8436b5631
commit
5860b2930c
24
Makefile.am
24
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
|
||||
|
Loading…
Reference in New Issue
Block a user