summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-22 06:26:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-22 06:26:30 +0000
commit56562bad59c28626dd1118732f9289ed586107c5 (patch)
treea32173844a55c23c2974cae46719cd910a0f66b9 /Makefile.am
parenta26081b5558b8ccbdb866497a9a3f9a42877d8e8 (diff)
downloadcurl-56562bad59c28626dd1118732f9289ed586107c5.tar.gz
Kevin Roth's cygwin fixes
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 763774b51..3f9ce0262 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,3 +67,36 @@ pkgadd:
make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
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
+
+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)
+
+
+