diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-10-04 08:22:57 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-10-04 08:22:57 +0000 |
commit | fd6624a05813d6a3ce8eb63b6cb3412cbcdb76d4 (patch) | |
tree | 68d71aefc73ce644ad0c76a7c29f4fb26e52eab4 /packages | |
parent | 8aa41dd04b8d1d72f4c42ffd46e49fb72ad9753e (diff) |
Kevin Roth's patch for his new packaging
Diffstat (limited to 'packages')
-rw-r--r-- | packages/Win32/cygwin/Makefile.am | 48 |
1 files changed, 38 insertions, 10 deletions
diff --git a/packages/Win32/cygwin/Makefile.am b/packages/Win32/cygwin/Makefile.am index 196e48171..9d17d310e 100644 --- a/packages/Win32/cygwin/Makefile.am +++ b/packages/Win32/cygwin/Makefile.am @@ -19,17 +19,45 @@ cygwintmp = $(CURDIR)/tmp_binbuild cygwinbin: rm -rf $(cygwintmp) + rm -rf $(cygwintmp)-dev $(MAKE) -C $(top_builddir) install-strip prefix=$(cygwintmp)/usr - $(STRIP) $(cygwintmp)/usr/bin/cygcurl-?.dll - $(mkinstalldirs) $(cygwintmp)/usr/doc/Cygwin \ - $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) + # $(STRIP) $(cygwintmp)/usr/bin/cygcurl-?.dll + $(mkinstalldirs) \ + $(cygwintmp)/usr/doc/Cygwin \ + $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) \ + $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/libcurl \ + $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/examples \ + $(cygwintmp)-dev/usr/man + # + # copy some files into the binary install dir cp $(srcdir)/README \ $(cygwintmp)/usr/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CYGBUILD).README - cd $(top_srcdir) ; cp CHANGES LEGAL MPL-1.1.txt MITX.txt README \ - docs/FAQ docs/FEATURES docs/TODO \ - $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) - cd $(cygwintmp) ; \ - tar cjf $(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 usr - mv $(cygwintmp)/$(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 . \ - && rm -rf $(cygwintmp) + cd $(top_srcdir) ; cp CHANGES COPYING README UPGRADE docs/* \ + $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) ; pwd + cd $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) ; rm *.1 Makefile* + # + # copy some files into the -dev install dir, remove some from binary + cp $(top_srcdir)/docs/libcurl/*.html \ + $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/libcurl + cp $(top_srcdir)/docs/examples/* \ + $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/examples + rm $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/examples/Makefile* + cp $(top_srcdir)/docs/examples/Makefile.example \ + $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/examples + mv $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)/BINDINGS \ + $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION) + mv $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)/INTERNALS \ + $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION) + mv $(cygwintmp)/usr/include $(cygwintmp)-dev/usr + mv $(cygwintmp)/usr/lib $(cygwintmp)-dev/usr + mv $(cygwintmp)/usr/man/man3 $(cygwintmp)-dev/usr/man + # + # create both tar files, and delete tmp folders + cd $(cygwintmp) ; tar cjf \ + $(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 usr + mv $(cygwintmp)/*.tar.bz2 . && rm -rf $(cygwintmp) + # + cd $(cygwintmp)-dev ; tar cjf \ + $(PACKAGE)-devel-$(VERSION)-$(CYGBUILD).tar.bz2 usr + mv $(cygwintmp)-dev/*.tar.bz2 . && rm -rf $(cygwintmp)-dev |