summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-02-09 21:28:00 +0000
committerPaul Smith <psmith@gnu.org>2005-02-09 21:28:00 +0000
commit939167cfc151eae77c0d2a9d01fe2e73cab1a1b1 (patch)
tree08127597beeaf8a727679235b95201d604d0ead5 /maintMakefile
parent1ce563a18155a710fbe286127f06430ce2b83d24 (diff)
downloadgunmake-939167cfc151eae77c0d2a9d01fe2e73cab1a1b1.tar.gz
Add a new Irish (ga) translation.
Fixed the CVS download URL to be simplified. Fixed the .texi doc download: the ftp site was decommed so use CVS.
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile54
1 files changed, 11 insertions, 43 deletions
diff --git a/maintMakefile b/maintMakefile
index 82db1ec..111e6a3 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -141,68 +141,36 @@ po-update:
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
# --------------------- #
@@ -210,7 +178,7 @@ cvs-update: get-config/texinfo.tex get-config/config.guess get-config/config.sub
# --------------------- #
.PHONY: update
-update: wget-update po-update cvs-update
+update: po-update cvs-update
## --------------- ##