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

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2004-06-04 19:09:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040604190925-wy048bp31320r2z6
Tags: 7.12.0.is.7.11.2-1
* Reverted to version 7.11.2 (closes: #252348).
* Disabled support for libidn (closes: #252367). This is to leave
  curl in unstable as much similar as possible to the one in testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# $Id: Makefile.am,v 1.31 2002/03/04 10:15:12 bagder Exp $
3
 
#
 
1
#***************************************************************************
 
2
#                                  _   _ ____  _
 
3
#  Project                     ___| | | |  _ \| |
 
4
#                             / __| | | | |_) | |
 
5
#                            | (__| |_| |  _ <| |___
 
6
#                             \___|\___/|_| \_\_____|
 
7
#
 
8
# Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
 
9
#
 
10
# This software is licensed as described in the file COPYING, which
 
11
# you should have received as part of this distribution. The terms
 
12
# are also available at http://curl.haxx.se/docs/copyright.html.
 
13
#
 
14
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
 
15
# copies of the Software, and permit persons to whom the Software is
 
16
# furnished to do so, under the terms of the COPYING file.
 
17
#
 
18
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 
19
# KIND, either express or implied.
 
20
#
 
21
# $Id: Makefile.am,v 1.49 2004/03/15 10:18:38 bagder Exp $
 
22
###########################################################################
4
23
 
5
24
AUTOMAKE_OPTIONS = foreign
6
25
 
7
 
EXTRA_DIST =                                            \
8
 
        CHANGES LEGAL maketgz MITX.txt MPL-1.1.txt      \
9
 
        reconf Makefile.dist curl-config.in build_vms.com curl-mode.el
 
26
EXTRA_DIST = CHANGES COPYING maketgz reconf Makefile.dist       \
 
27
  curl-config.in curl-style.el sample.emacs testcurl.sh RELEASE-NOTES
10
28
 
11
29
bin_SCRIPTS = curl-config
12
30
 
13
 
SUBDIRS = docs lib src include tests packages
 
31
SUBDIRS = lib src
 
32
DIST_SUBDIRS = $(SUBDIRS) tests include packages docs
14
33
 
15
 
# create a root makefile in the distribution:
16
34
dist-hook:
17
 
        cp $(srcdir)/Makefile.dist $(distdir)/Makefile
 
35
        rm -rf $(top_builddir)/tests/log
 
36
        find $(distdir) -name "*.dist" -exec rm {} \;
 
37
        (distit=`find $(srcdir) -name "*.dist"`; \
 
38
        for file in $$distit; do \
 
39
          strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
 
40
          cp $$file $(distdir)$$strip; \
 
41
        done)
18
42
 
19
43
html:
20
44
        cd docs; make html
21
45
 
 
46
pdf:
 
47
        cd docs; make pdf
 
48
 
22
49
check: test
23
50
 
24
51
test:
25
 
        @(cd tests; $(MAKE) quiet-test)
 
52
        @(cd tests; $(MAKE) all quiet-test)
 
53
 
 
54
test-full:
 
55
        @(cd tests; $(MAKE) all full-test)
26
56
 
27
57
#
28
58
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
63
93
pkgadd:
64
94
        umask 022 ; \
65
95
        make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
66
 
        cat LEGAL MITX.txt MPL-1.1.txt > $(srcdir)/packages/Solaris/copyright ; \
 
96
        cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
67
97
        cd $(srcdir)/packages/Solaris && $(MAKE) package
68
98
 
69
99
#
71
101
# resulting .tar.bz2 file will end up at packages/Win32/cygwin
72
102
cygwinbin:
73
103
        $(MAKE) -C packages/Win32/cygwin cygwinbin
 
104
 
 
105
# We extend the standard install with a custom hook:
 
106
install-data-hook:
 
107
        cd include && $(MAKE) install
 
108
        cd docs && $(MAKE) install
 
109
 
 
110
# We extend the standard uninstall with a custom hook:
 
111
uninstall-hook:
 
112
        cd include && $(MAKE) uninstall
 
113
        cd docs && $(MAKE) uninstall