blob: 9169e42a2ee226821b45eabde6be4d77f9c0f026 (
plain)
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
|
$NetBSD: patch-ab,v 1.11 2011/09/08 16:29:49 bsiegert Exp $
--- Makefile.in.orig Sun Jun 21 11:17:09 2009
+++ Makefile.in
@@ -25,6 +25,9 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
+top_builddir = @top_builddir@
+LIBTOOL = @LIBTOOL@
+
#### End of system configuration section. ####
SHELL = /bin/sh
@@ -39,7 +42,9 @@ all : lib/localcharset.h force
if test -d tests; then cd tests && $(MAKE) all; fi
lib/localcharset.h :
- builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib"
+ builddir="`pwd`"; cd libcharset && $(MAKE) all && \
+ ${LIBTOOL} --mode=install cp lib/libcharset.la "$$builddir/lib/" && \
+ ${PAX} -rw include/*.h "$$builddir/"
# Installs the library and include files only. Typically called with only
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
|