automake
[Top][All Lists]
Advanced

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

Re: Bug in "distcheck" target?


From: Pavel Roskin
Subject: Re: Bug in "distcheck" target?
Date: Wed, 18 Sep 2002 16:49:45 -0400 (EDT)

Hello!

>  Roger> && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$$dc_install_base install \
>  Roger> && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$$dc_install_base installcheck \
>  Roger> && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$$dc_install_base uninstall \
> 
> Unfortunately `make installcheck' isn't expected to run in a
> DESTDIR installation as it might run programs which read files
> using the real $prefix.

Let's make an option (that would go to AUTOMAKE_OPTIONS) to enable relaxed
check using DESTDIR.  `make installcheck' would be skipped if this option
is used.

For example, reiserfsprogs installs binaries to /sbin, and they has a good
reason for that.  Using DESTDIR is the only way that reiserfsprogs passes
`make distcheck'.  It's still better than `make dist' for making real
releases.

-- 
Regards,
Pavel Roskin





reply via email to

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