[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting web content past distcheck

From: Ralf Corsepius
Subject: Re: Getting web content past distcheck
Date: Thu, 14 Oct 2004 06:26:20 +0200

On Thu, 2004-10-14 at 01:49, John Kodis wrote:
> On 10/13/2004 02:27:00 PM, Richard Bos wrote:
> > If I remember well you need to combine those:
> >     htmldir = $(DESTDIR)/$(WEBDIR)/html/$(PACKAGE)

> That's one of the things that I tried, but without success.

No surprize, that's not how things are supposed to work.

You only need to apply DESTDIR if you are using custom installation
rules, i.e.

1. Using standard installation rules:
htmldir = $(WEBDIR)/html
html_DATA = xxx.html

2. Using custom installation rules:
htmldir = $(WEBDIR)/html
html_FILES = xxx.html

        $(mkinstalldirs) $(DESTDIR)$(htmldir)
        for $$i in $(html_FILES); do \
        $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \

However, the cause of your issue is lurking elsewhere. One of the
checks, "make distcheck" executes, basically is

make prefix=<somewhere>/_inst install

This requires you to let $(WEBDIR) default to a directory containing
$(prefix) in its root. For example you could use something similar to
this in your



reply via email to

[Prev in Thread] Current Thread [Next in Thread]