mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Kevin Roth's cygwin package fixes
This commit is contained in:
parent
2d32e8831b
commit
fbb9d23a25
33
Makefile.am
33
Makefile.am
@ -68,35 +68,8 @@ pkgadd:
|
||||
cat LEGAL MITX.txt MPL-1.1.txt > $(srcdir)/packages/Solaris/copyright ; \
|
||||
cd $(srcdir)/packages/Solaris && $(MAKE) package
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Build a Cygwin binary tarball
|
||||
# run 'make cygwinbin' once you've done './configure' and 'make'
|
||||
# deposits curl-${VERSION}.tar.gz into the packages/Cygwin directory
|
||||
# installation of this tarball is via cygwin-setup.exe
|
||||
#
|
||||
|
||||
# tmp dir to build binary-tarball in
|
||||
CygwinTmp = /tmp/curl-binary-build
|
||||
|
||||
# Cygwin build number (for a new curl rev, start at 1)
|
||||
CygwinBld = 1
|
||||
|
||||
# Build a cygwin binary tarball installation file
|
||||
# resulting .tar.bz2 file will end up at packages/Win32/cygwin
|
||||
cygwinbin:
|
||||
rm -rf $(CygwinTmp) ; \
|
||||
$(MAKE) install prefix="$(CygwinTmp)/usr"
|
||||
$(mkinstalldirs) $(CygwinTmp)/usr/doc/Cygwin \
|
||||
$(CygwinTmp)/usr/doc/$(PACKAGE)-$(VERSION)
|
||||
cp $(top_srcdir)/packages/Cygwin/README \
|
||||
$(CygwinTmp)/usr/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CygwinBld).README
|
||||
cd $(top_srcdir) ; \
|
||||
cp CHANGES LEGAL MPL-1.1.txt README docs/FAQ docs/FEATURES \
|
||||
docs/TODO $(CygwinTmp)/usr/doc/$(PACKAGE)-$(VERSION)
|
||||
cd $(CygwinTmp) && \
|
||||
tar cjf $(PACKAGE)-$(VERSION)-$(CygwinBld).tar.bz2 usr
|
||||
mv $(CygwinTmp)/*.tar.bz2 . && rm -rf $(CygwinTmp)
|
||||
|
||||
|
||||
|
||||
$(MAKE) -C packages/Win32/cygwin cygwinbin
|
||||
|
@ -596,7 +596,7 @@ AC_CONFIG_FILES([Makefile \
|
||||
tests/data/Makefile \
|
||||
packages/Makefile \
|
||||
packages/Win32/Makefile \
|
||||
packages/Cygwin/Makefile \
|
||||
packages/Win32/cygwin/Makefile \
|
||||
packages/Linux/Makefile \
|
||||
packages/Linux/RPM/Makefile \
|
||||
packages/Linux/RPM/curl.spec \
|
||||
|
Loading…
Reference in New Issue
Block a user