cURL / Mailing Lists / curl-users / Single Mail

curl-users

[PATCH] prevent 7.9.3 examples to get installed

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 Jan 2002 08:37:44 +0100 (MET)

There's a little mistake the in the makefiles of the curl 7.9.3 source
archive released yesterday (brought to my attention by Kevin Roth). The multi
interface example snippets are also getting installed when you invoke 'make
install' in the curl source tree root of the curl 7.9.3 package.

This is not intented, and if you have automake installed you can regenerate a
new set of makefiles that don't do this.

After everthing is built, apply patch below and invoke the following command
line in the soure tree root:

 $ automake && ./config.status

Now 'make install' will intall only the relevant stuff.

The patch:

Index: multi/Makefile.am
===================================================================
RCS file: /cvsroot/curl/curl/multi/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- multi/Makefile.am 2002/01/03 15:03:14 1.2
+++ multi/Makefile.am 2002/01/24 07:31:49
@@ -4,7 +4,7 @@

 INCLUDES = -I$(top_srcdir)/include

-bin_PROGRAMS = app single double
+noinst_PROGRAMS = app single double

 app_SOURCES = app.c
 app_LDADD = ../lib/libcurl.la

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-01-24