Minor tweaks for 3.81rc2.

This commit is contained in:
Paul Smith 2006-03-17 18:55:26 +00:00
parent 22886f8a74
commit 29e539bad0
3 changed files with 18 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2006-03-17 Paul D. Smith <psmith@gnu.org>
* maintMakefile (do-po-update): Rewrite this rule to clean up and
allow multiple concurrent runs.
Patch from Joseph Myers <joseph@codesourcery.com>
2006-03-17 Boris Kolpackov <boris@kolpackov.net> 2006-03-17 Boris Kolpackov <boris@kolpackov.net>
* dep.h (struct dep): Add the stem field. * dep.h (struct dep): Add the stem field.

View File

@ -49,7 +49,7 @@ After checking out the code, you will need to perform these steps to get
to the point where you can run "make". to the point where you can run "make".
1) $ autoreconf -i -s 1) $ autoreconf -i
This rebuilds all the things that need rebuilding, installing This rebuilds all the things that need rebuilding, installing
missing files as symbolic links. missing files as symbolic links.
@ -133,10 +133,12 @@ prerequisites are available of course).
This list is eminently suitable for a quick swipe o' the mouse and a This list is eminently suitable for a quick swipe o' the mouse and a
swift click o' mouse-2 into an xterm. Go for it! swift click o' mouse-2 into an xterm. Go for it!
autoreconf -i
autoreconf -i -s
./configure ./configure
make update make update
make make
make check make check
make distcheck
Or, all-in-one:
autoreconf -i && ./configure && make update && make && make check

View File

@ -134,11 +134,12 @@ move_if_change = if test -r $(target) && cmp -s $(target).t $(target); then \
po_repo = http://www.iro.umontreal.ca/translation/maint/$(PACKAGE) po_repo = http://www.iro.umontreal.ca/translation/maint/$(PACKAGE)
.PHONY: do-po-update po-update .PHONY: do-po-update po-update
do-po-update: do-po-update:
tmppo=/tmp/$(PACKAGE)-$(VERSION)-po &&\ tmppo="/tmp/po-$(PACKAGE)-$(VERSION).$$$$" \
rm -rf $$tmppo && \ && rm -rf "$$tmppo" \
mkdir $$tmppo && \ && mkdir "$$tmppo" \
(cd $$tmppo && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) &&\ && (cd "$$tmppo" \
cp $$tmppo/*.po po && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) \
&& cp "$$tmppo"/*.po po && rm -rf "$$tmppo"
cd po && $(MAKE) update-po cd po && $(MAKE) update-po
$(MAKE) po-check $(MAKE) po-check