bug-gnu-utils
[Top][All Lists]
Advanced

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

stamp-po not removed during distclean in non-local builds


From: psmith
Subject: stamp-po not removed during distclean in non-local builds
Date: Wed, 30 Jul 2003 22:44:50 -0400

Hi Bruno;

I'm upgrading GNU make to gettext 0.12.1.  I have a problem when I
use the distcheck automake target to create distributions.  One of the
things distcheck checks is that after it runs "make distclean", the
temporary work area is actually clean.

The po/Makefile.in.in that comes with gettext 0.12.1 creates the
stamp-po file in the build area po directory, but then when you run
"make distclean" it isn't deleted it again, which causes the distcheck
target to fail.


I'm not sure about all the ins and outs of the stamp-po file, but it
seems to me one possible solution is to look for it in srcdir only; this
would involve changing all references to stamp-po to $(srcdir)/stamp-po.
Is this a proper change?

If not, you can put a test in the distclean that only removes stamp-po
if srcdir is != "."; something like:

        @test "$(srcdir)" = . || rm -f stamp-po

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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