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

Diff of /bison/Makefile.maint

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

revision 1.13 by eggert, Tue Dec 24 08:30:59 2002 UTC revision 1.14 by eggert, Thu Jan 9 07:44:05 2003 UTC
# Line 2  Line 2 
2  # This Makefile fragment is shared between fileutils, sh-utils, textutils,  # This Makefile fragment is shared between fileutils, sh-utils, textutils,
3  # CPPI, Bison, and Autoconf.  # CPPI, Bison, and Autoconf.
4    
5  ## Copyright (C) 2001, 2002 Free Software Foundation, Inc.  ## Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
6  ##  ##
7  ## This program is free software; you can redistribute it and/or modify  ## This program is free software; you can redistribute it and/or modify
8  ## it under the terms of the GNU General Public License as published by  ## it under the terms of the GNU General Public License as published by
# Line 209  my-distcheck: $(local-check) Line 209  my-distcheck: $(local-check)
209          echo "$(distdir).tar.gz is ready for distribution"; \          echo "$(distdir).tar.gz is ready for distribution"; \
210          echo "========================"          echo "========================"
211    
212    WGET = wget
213    WGETFLAGS = -C off
214    
215  tgz-md5 = $(shell md5sum < $(my_distdir).tar.gz|sed 's/  -//')  tgz-md5 = $(shell md5sum < $(my_distdir).tar.gz|sed 's/  -//')
216  tgz-sha1 = $(shell sha1sum < $(my_distdir).tar.gz|sed 's/  -//')  tgz-sha1 = $(shell sha1sum < $(my_distdir).tar.gz|sed 's/  -//')
217  bz2-md5 = $(shell md5sum < $(my_distdir).tar.bz2|sed 's/  -//')  bz2-md5 = $(shell md5sum < $(my_distdir).tar.bz2|sed 's/  -//')
# Line 224  rel-check: Line 227  rel-check:
227          md5_tmp=/tmp/rel-check-md5-$$$$; \          md5_tmp=/tmp/rel-check-md5-$$$$; \
228          set -e; \          set -e; \
229          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; \
230          wget -q --output-document=$$tarz $(url); \          $(WGET) $(WGETFLAGS) -q --output-document=$$tarz $(url); \
231          echo "$(md5)  -" > $$md5_tmp; \          echo "$(md5)  -" > $$md5_tmp; \
232          md5sum -c $$md5_tmp < $$tarz          md5sum -c $$md5_tmp < $$tarz
233    
# Line 278  announcement: NEWS ChangeLog $(rel-files Line 281  announcement: NEWS ChangeLog $(rel-files
281  ## Updating files.  ##  ## Updating files.  ##
282  ## ---------------- ##  ## ---------------- ##
283    
 WGET = wget  
284  ftp-gnu = ftp://ftp.gnu.org/gnu  ftp-gnu = ftp://ftp.gnu.org/gnu
285    
286  # Use mv, if you don't have/want move-if-change.  # Use mv, if you don't have/want move-if-change.
# Line 304  do-po-update: Line 306  do-po-update:
306          tmppo=/tmp/$(PACKAGE)-$(VERSION)-po &&\          tmppo=/tmp/$(PACKAGE)-$(VERSION)-po &&\
307          rm -rf $$tmppo && \          rm -rf $$tmppo && \
308          mkdir $$tmppo && \          mkdir $$tmppo && \
309          (cd $$tmppo && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) &&\          (cd $$tmppo && $(WGET) $(WGETFLAGS) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) &&\
310          cp $$tmppo/*.po po          cp $$tmppo/*.po po
311          cd po && $(MAKE) update-po          cd po && $(MAKE) update-po
312          $(MAKE) po-check          $(MAKE) po-check
# Line 342  url = $($(notdir $(target))-url_prefix)$ Line 344  url = $($(notdir $(target))-url_prefix)$
344    
345  .PHONY: $(get-targets)  .PHONY: $(get-targets)
346  $(get-targets):  $(get-targets):
347          $(WGET) $(url) -O $(target).t \          $(WGET) $(WGETFLAGS) $(url) -O $(target).t \
348            && $(move_if_change) $(target).t $(target)            && $(move_if_change) $(target).t $(target)
349    
350  cvs_files ?= $(srcdir)/config/depcomp $(srcdir)/config/missing $(srcdir)/config/mkinstalldirs \  cvs_files ?= $(srcdir)/config/depcomp $(srcdir)/config/missing $(srcdir)/config/mkinstalldirs \

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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