fi
# -------------------------- #
-# Updating GNU build tools. #
+# Updating GNU build files. #
# -------------------------- #
# The following pseudo table associates a local directory and a URL
# with each of the files that belongs to some other package and is
# regularly updated from the specified URL.
-wget_files ?= $(srcdir)/doc/make-stds.texi $(srcdir)/doc/fdl.texi
-
-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/
-
+savannah-url = http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~
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
-config-url = $(savannah-url)/config/config/$(patsubst get-config/%,%,$@)$(viewcvs-suffix)
+config-url = $(savannah-url)/config/config/$(patsubst get-config/%,%,$@)
get-config/config.guess get-config/config.sub:
@echo $(WGET) $(config-url) -O $(target) \
&& $(WGET) $(config-url) -O $(target).t \
&& $(move_if_change)
-gnulib-url = $(savannah-url)/gnulib/gnulib/config/$(patsubst get-config/%,%,$@)$(viewcvs-suffix)
-
+gnulib-url = $(savannah-url)/gnulib/gnulib/config/$(patsubst get-config/%,%,$@)
get-config/texinfo.tex:
@echo $(WGET) $(gnulib-url) -O $(target) \
&& $(WGET) $(gnulib-url) -O $(target).t \
&& $(move_if_change)
-
-.PHONY: wget-update
-wget-update: $(wget-targets)
-
-
-# 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)
+gnustandards-url = $(savannah-url)/gnustandards/gnustandards/$(patsubst get-doc/%,%,$@)
+get-doc/make-stds.texi get-doc/fdl.texi:
+ @echo $(WGET) $(gnustandards-url) -O $(target) \
+ && $(WGET) $(gnustandards-url) -O $(target).t \
+ && $(move_if_change)
.PHONY: cvs-update
-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
# --------------------- #
# --------------------- #
.PHONY: update
-update: wget-update po-update cvs-update
+update: po-update cvs-update
## --------------- ##