apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mat Booth <mat.bo...@wandisco.com>
Subject Makefile.win install target does not install all necessary headers
Date Mon, 27 Feb 2012 14:13:59 GMT
Hi all,

When using the install target of Makefile.win on Windows, I noticed
that it does not install all the headers necessary for using the
platform specific features of APR. Please see the patch to fix it
below.


--- Makefile.win.orig	2012-02-27 13:54:16.500000000 +0000
+++ Makefile.win	2012-02-27 13:56:07.906250000 +0000
@@ -161,11 +161,15 @@
 	@if NOT EXIST "$(PREFIX)\."		mkdir "$(PREFIX)"
 	@if NOT EXIST "$(PREFIX)\bin\."		mkdir "$(PREFIX)\bin"
 	@if NOT EXIST "$(PREFIX)\include\."	mkdir "$(PREFIX)\include"
+	@if NOT EXIST "$(PREFIX)\include\arch\."	mkdir "$(PREFIX)\include\arch"
+	@if NOT EXIST "$(PREFIX)\include\arch\win32\."	mkdir
"$(PREFIX)\include\arch\win32"
 	@if NOT EXIST "$(PREFIX)\lib\."		mkdir "$(PREFIX)\lib"
 	copy CHANGES "$(PREFIX)\APR-CHANGES.txt" <.y
 	copy LICENSE "$(PREFIX)\APR-LICENSE.txt" <.y
 	copy NOTICE  "$(PREFIX)\APR-NOTICE.txt"  <.y
 	xcopy include\*.h		"$(PREFIX)\include\" /d < .a
+	xcopy include\arch\*.h		"$(PREFIX)\include\arch\" /d < .a
+	xcopy include\arch\win32\*.h	"$(PREFIX)\include\arch\win32\" /d < .a
 	copy $(LIBSOSPATH)\apr-1.lib		"$(PREFIX)\lib\" <.y
 	copy $(LIBSOSPATH)\apr-1.pdb		"$(PREFIX)\lib\" <.y
 	copy $(LIBSOSPATH)\aprapp-1.lib		"$(PREFIX)\lib\" <.y



Best regards,
Mat

-- 
Mat Booth
Software Engineer
WANdisco, Inc.
http://www.wandisco.com

Mime
View raw message