/[make]/make/maintMakefile
ViewVC logotype

Diff of /make/maintMakefile

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

revision 2.30 by psmith, Tue Feb 1 23:02:17 2005 UTC revision 2.31 by psmith, Wed Feb 9 21:28:00 2005 UTC
# Line 141  po-update: Line 141  po-update:
141          fi          fi
142    
143  # -------------------------- #  # -------------------------- #
144  # Updating GNU build tools.  #  # Updating GNU build files.  #
145  # -------------------------- #  # -------------------------- #
146    
147  # The following pseudo table associates a local directory and a URL  # The following pseudo table associates a local directory and a URL
148  # 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
149  # regularly updated from the specified URL.  # regularly updated from the specified URL.
150    
151  wget_files ?= $(srcdir)/doc/make-stds.texi $(srcdir)/doc/fdl.texi  savannah-url = http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~
   
 wget-targets = $(patsubst %, get-%, $(wget_files))  
   
 ansi2knr.c-url_prefix = ftp://ftp.cs.wisc.edu/ghost/  
   
 standards.texi-url_prefix = $(ftp-gnu)/GNUinfo/  
 make-stds.texi-url_prefix = $(ftp-gnu)/GNUinfo/  
 fdl.texi-url_prefix = $(ftp-gnu)/GNUinfo/  
   
152  target = $(patsubst get-%,%,$@)  target = $(patsubst get-%,%,$@)
 url = $($(notdir $(target))-url_prefix)$(notdir $(target))  
   
 .PHONY: $(wget-targets)  
 $(wget-targets):  
         @echo $(WGET) $(url) -O $(target) \  
           && $(WGET) $(url) -O $(target).t \  
           && $(move_if_change)  
   
 savannah-url = http://savannah.gnu.org/cgi-bin/viewcvs  
 viewcvs-suffix = \?rev=HEAD\&content-type=text/plain  
153    
154  config-url = $(savannah-url)/config/config/$(patsubst get-config/%,%,$@)$(viewcvs-suffix)  config-url = $(savannah-url)/config/config/$(patsubst get-config/%,%,$@)
155  get-config/config.guess get-config/config.sub:  get-config/config.guess get-config/config.sub:
156          @echo $(WGET) $(config-url) -O $(target) \          @echo $(WGET) $(config-url) -O $(target) \
157            && $(WGET) $(config-url) -O $(target).t \            && $(WGET) $(config-url) -O $(target).t \
158            && $(move_if_change)            && $(move_if_change)
159    
160  gnulib-url = $(savannah-url)/gnulib/gnulib/config/$(patsubst get-config/%,%,$@)$(viewcvs-suffix)  gnulib-url = $(savannah-url)/gnulib/gnulib/config/$(patsubst get-config/%,%,$@)
   
161  get-config/texinfo.tex:  get-config/texinfo.tex:
162          @echo $(WGET) $(gnulib-url) -O $(target) \          @echo $(WGET) $(gnulib-url) -O $(target) \
163            && $(WGET) $(gnulib-url) -O $(target).t \            && $(WGET) $(gnulib-url) -O $(target).t \
164            && $(move_if_change)            && $(move_if_change)
165    
166    gnustandards-url = $(savannah-url)/gnustandards/gnustandards/$(patsubst get-doc/%,%,$@)
167  .PHONY: wget-update  get-doc/make-stds.texi get-doc/fdl.texi:
168  wget-update: $(wget-targets)          @echo $(WGET) $(gnustandards-url) -O $(target) \
169              && $(WGET) $(gnustandards-url) -O $(target).t \
170              && $(move_if_change)
 # Updating tools via CVS.  
 # cvs_files ?= depcomp missing  
 # cvs-targets = $(patsubst %, get-%, $(cvs_files))  
   
 # automake_repo = :pserver:anoncvs@anoncvs.cygnus.com:/cvs/automake  
 # .PHONY: $(cvs-targets)  
 # $(cvs-targets):  
 #       $(CVS) -d $(automake_repo) co -p automake/lib/$(notdir $(target)) \  
 #         >$(target).t \  
 #           && $(move_if_change)  
   
 # $(cvs-targets)  
171    
172  .PHONY: cvs-update  .PHONY: cvs-update
173  cvs-update: get-config/texinfo.tex get-config/config.guess get-config/config.sub  cvs-update: get-config/texinfo.tex get-config/config.guess get-config/config.sub get-doc/make-stds.texi get-doc/fdl.texi
174    
175    
176  # --------------------- #  # --------------------- #
# Line 210  cvs-update: get-config/texinfo.tex get-c Line 178  cvs-update: get-config/texinfo.tex get-c
178  # --------------------- #  # --------------------- #
179    
180  .PHONY: update  .PHONY: update
181  update: wget-update po-update cvs-update  update: po-update cvs-update
182    
183    
184  ## --------------- ##  ## --------------- ##

Legend:
Removed from v.2.30  
changed lines
  Added in v.2.31

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