summaryrefslogtreecommitdiff
path: root/ftp/curl/files/patch-Makefile.in
blob: 28e490bcdf220d8a1a7738fd545b3e7496efacbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description: Build and install the documentation as usual, no special handling.
Forwarded: https://sourceforge.net/tracker/?func=detail&aid=2897155&group_id=976&atid=100976
Author: Peter Pentchev <roam@FreeBSD.org>
Last-Update: 2009-11-13

--- a/Makefile.in
+++ b/Makefile.in
@@ -297,9 +297,9 @@
  libcurl.pc.in vc6curl.dsw MacOSX-Framework Android.mk $(CMAKE_DIST)
 
 bin_SCRIPTS = curl-config
-SUBDIRS = lib src
-DIST_SUBDIRS = $(SUBDIRS) tests include packages docs
-pkgconfigdir = $(libdir)/pkgconfig
+SUBDIRS = lib src docs
+DIST_SUBDIRS = $(SUBDIRS) tests include packages
+pkgconfigdir = $(prefix)/libdata/pkgconfig
 pkgconfig_DATA = libcurl.pc
 all: all-recursive
 
@@ -859,12 +859,10 @@
 # We extend the standard install with a custom hook:
 install-data-hook:
 	cd include && $(MAKE) install
-	cd docs && $(MAKE) install
 
 # We extend the standard uninstall with a custom hook:
 uninstall-hook:
 	cd include && $(MAKE) uninstall
-	cd docs && $(MAKE) uninstall
 
 ca-bundle: lib/mk-ca-bundle.pl
 	@echo "generate a fresh ca-bundle.crt"