/[autoconf]/autoconf/Makefile.maint
ViewVC logotype

Diff of /autoconf/Makefile.maint

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by akim, Fri Aug 22 13:57:21 2003 UTC revision 1.26 by akim, Tue Aug 26 07:28:37 2003 UTC
# Line 347  my-distcheck: $(local-check) Line 347  my-distcheck: $(local-check)
347          echo "$(distdir).tar.gz is ready for distribution"; \          echo "$(distdir).tar.gz is ready for distribution"; \
348          echo "========================"          echo "========================"
349    
350    WGET = wget
351    WGETFLAGS = -C off
352    
353  tgz-md5 = $(shell md5sum < $(my_distdir).tar.gz|sed 's/  -//')  tgz-md5 = $(shell md5sum < $(my_distdir).tar.gz|sed 's/  -//')
354  tgz-sha1 = $(shell sha1sum < $(my_distdir).tar.gz|sed 's/  -//')  tgz-sha1 = $(shell sha1sum < $(my_distdir).tar.gz|sed 's/  -//')
355  bz2-md5 = $(shell md5sum < $(my_distdir).tar.bz2|sed 's/  -//')  bz2-md5 = $(shell md5sum < $(my_distdir).tar.bz2|sed 's/  -//')
# Line 362  rel-check: Line 365  rel-check:
365          md5_tmp=/tmp/rel-check-md5-$$$$; \          md5_tmp=/tmp/rel-check-md5-$$$$; \
366          set -e; \          set -e; \
367          trap 'status=$$?; rm -f $$tarz $$md5_tmp; exit $$status' 0 1 2 3 15; \          trap 'status=$$?; rm -f $$tarz $$md5_tmp; exit $$status' 0 1 2 3 15; \
368          wget -q --output-document=$$tarz $(url); \          $(WGET) $(WGETFLAGS) -q --output-document=$$tarz $(url); \
369          echo "$(md5)  -" > $$md5_tmp; \          echo "$(md5)  -" > $$md5_tmp; \
370          md5sum -c $$md5_tmp < $$tarz          md5sum -c $$md5_tmp < $$tarz
371    
# Line 391  announcement: NEWS ChangeLog $(rel-files Line 394  announcement: NEWS ChangeLog $(rel-files
394  ## Updating files.  ##  ## Updating files.  ##
395  ## ---------------- ##  ## ---------------- ##
396    
 WGET = wget  
397  ftp-gnu = ftp://ftp.gnu.org/gnu  ftp-gnu = ftp://ftp.gnu.org/gnu
398  www-gnu = http://www.gnu.org  www-gnu = http://www.gnu.org
399    
# Line 418  do-po-update: Line 420  do-po-update:
420          tmppo=/tmp/$(PACKAGE)-$(VERSION)-po &&\          tmppo=/tmp/$(PACKAGE)-$(VERSION)-po &&\
421          rm -rf $$tmppo && \          rm -rf $$tmppo && \
422          mkdir $$tmppo && \          mkdir $$tmppo && \
423          (cd $$tmppo && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) &&\          (cd $$tmppo && \
424              $(WGET) $(WGETFLAGS) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) &&\
425          cp $$tmppo/*.po po          cp $$tmppo/*.po po
426          cd po && $(MAKE) update-po          cd po && $(MAKE) update-po
427          $(MAKE) po-check          $(MAKE) po-check
# Line 435  po-update: Line 438  po-update:
438  # The following pseudo table associates a local directory and a URL  # The following pseudo table associates a local directory and a URL
439  # with each of the files that belongs to some other package and is  # with each of the files that belongs to some other package and is
440  # regularly updated from the specified URL.  # regularly updated from the specified URL.
441  wget_files ?= $(srcdir)/config/config.guess \  wget_files ?= \
442                $(srcdir)/config/config.sub \    $(srcdir)/config/config.guess \
443                $(srcdir)/src/ansi2knr.c \    $(srcdir)/config/config.sub \
444                $(srcdir)/config/texinfo.tex    $(srcdir)/config/texinfo.tex \
445      $(srcdir)/src/ansi2knr.c
446    
447  get-targets = $(patsubst %, get-%, $(wget_files))  get-targets = $(patsubst %, get-%, $(wget_files))
448    
449  config.guess-url_prefix = $(ftp-gnu)/config/  config.guess-url_prefix = $(ftp-gnu)/config/
# Line 456  url = $($(notdir $(target))-url_prefix)$ Line 461  url = $($(notdir $(target))-url_prefix)$
461    
462  .PHONY: $(get-targets)  .PHONY: $(get-targets)
463  $(get-targets):  $(get-targets):
464          $(WGET) $(url) -O $(target).t \          $(WGET) $(WGETFLAGS) $(url) -O $(target).t \
465            && $(move_if_change) $(target).t $(target)            && $(move_if_change) $(target).t $(target)
466    
467  cvs_files ?= $(srcdir)/config/depcomp $(srcdir)/config/missing \  cvs_files ?= \
468               $(srcdir)/config/mkinstalldirs \    $(srcdir)/config/depcomp \
469               $(srcdir)/config/install-sh $(srcdir)/src/ansi2knr.c    $(srcdir)/config/install-sh \
470      $(srcdir)/config/missing \
471      $(srcdir)/config/mkinstalldirs \
472      $(srcdir)/src/ansi2knr.c
473  automake_repo=:pserver:anoncvs:anoncvs@sources.redhat.com:/cvs/automake  automake_repo=:pserver:anoncvs:anoncvs@sources.redhat.com:/cvs/automake
474  .PHONY: wget-update  .PHONY: wget-update
475  wget-update: $(get-targets)  wget-update: $(get-targets)

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26