Re: Some problems with w3c-libwww-5.2.8

At 11:07 27/07/1999 -0400, Peter Breitenlohner wrote:

>When I tried "make DESTDIR=something install" (as non-root user) I badly
>failed because make tried to create the directory /usr/include/w3c-libwww in
>spite of the DESTDIR -- the attached patch fixed that problem but I am sure
>there is a better way to let automake do that automatically.

I think this works fine - and I can't see why it shouldn't be added to the
repository.

Jose (or someone else with write access), could I please ask you to add this?

Henrik

>with best regards
>Peter Breitenlohner <peb@mppmu.mpg.de>
>diff -ur w3c-libwww-5.2.8.orig/Makefile.am w3c-libwww-5.2.8/Makefile.am
>--- w3c-libwww-5.2.8.orig/Makefile.am	Mon Apr  5 17:13:57 1999
>+++ w3c-libwww-5.2.8/Makefile.am	Mon Jul 26 17:55:37 1999
>@@ -24,8 +24,8 @@
> # We need to install the config.h header file as well
> install-exec-local:
> 	@$(NORMAL_INSTALL)
>-	$(mkinstalldirs) $(pkgincludedir)
>-	$(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER)
$(pkgincludedir)/$(CONFIG_HEADER);
>+	$(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
>+	$(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER)
$(DESTDIR)$(pkgincludedir)/$(CONFIG_HEADER);
> 
> # This is our install script provided by Soren Sandmann
> bin_SCRIPTS = libwww-config
>diff -ur w3c-libwww-5.2.8.orig/Makefile.in w3c-libwww-5.2.8/Makefile.in
>--- w3c-libwww-5.2.8.orig/Makefile.in	Mon Apr 12 20:46:19 1999
>+++ w3c-libwww-5.2.8/Makefile.in	Mon Jul 26 17:55:35 1999
>@@ -465,8 +465,8 @@
> # We need to install the config.h header file as well
> install-exec-local:
> 	@$(NORMAL_INSTALL)
>-	$(mkinstalldirs) $(pkgincludedir)
>-	$(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER)
$(pkgincludedir)/$(CONFIG_HEADER);
>+	$(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
>+	$(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER)
$(DESTDIR)$(pkgincludedir)/$(CONFIG_HEADER);
> 
> # Extra distribution files in zip format and in compress
> dist-hook:
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk

Received on Monday, 2 August 1999 02:51:14 UTC