~ubuntu-branches/ubuntu/warty/curl/warty

« back to all changes in this revision

Viewing changes to packages/Win32/cygwin/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2002-03-12 19:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020312190621-iqx7k9cipo5d0ifr
Tags: upstream-7.9.5
ImportĀ upstreamĀ versionĀ 7.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
EXTRA_DIST = README
 
2
 
 
3
#
 
4
# Build a Cygwin binary tar ball
 
5
#
 
6
# Read the README file for details on using this Makefile
 
7
#
 
8
# NOTE: As I'm not particularly familiar with Makefiles, this was the
 
9
#  best I could come up with. It should probably be enhanced someday 
 
10
#  to actually use the correct target and pre-requisite names, etc...
 
11
#  If anyone else wants to volunteer, feel free ;-)
 
12
#
 
13
 
 
14
# Cygwin build number (default to "1")
 
15
CYGBUILD = 1
 
16
 
 
17
# Cygwin tarball build dir (fully-qualified name, gets deleted when done)
 
18
cygwintmp = $(CURDIR)/tmp_binbuild
 
19
 
 
20
cygwinbin:
 
21
        rm -rf $(cygwintmp)
 
22
        $(MAKE) -C $(top_builddir) install-strip prefix=$(cygwintmp)/usr
 
23
        $(STRIP) $(cygwintmp)/usr/bin/cygcurl-?.dll
 
24
        $(mkinstalldirs) $(cygwintmp)/usr/doc/Cygwin \
 
25
                         $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)
 
26
        cp $(srcdir)/README \
 
27
          $(cygwintmp)/usr/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CYGBUILD).README
 
28
        cd $(top_srcdir) ; cp CHANGES LEGAL MPL-1.1.txt MITX.txt README \
 
29
          docs/FAQ docs/FEATURES docs/TODO \
 
30
          $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)
 
31
        cd $(cygwintmp) ; \
 
32
          tar cjf $(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 usr
 
33
        mv $(cygwintmp)/$(PACKAGE)-$(VERSION)-$(CYGBUILD).tar.bz2 . \
 
34
          && rm -rf $(cygwintmp)
 
35