This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: File missing from the git: texinfo/texinfo.tex
- From: Paul Smith <psmith at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>, binutils at sourceware dot org, gdb at sourceware dot org
- Date: Wed, 23 Oct 2013 13:00:10 -0400
- Subject: Re: File missing from the git: texinfo/texinfo.tex
- Authentication-results: sourceware.org; auth=none
- References: <201310231640 dot r9NGeOjY029105 at ignucius dot se dot axis dot com> <874n88dj74 dot fsf at fleche dot redhat dot com>
- Reply-to: psmith at gnu dot org
On Wed, 2013-10-23 at 10:51 -0600, Tom Tromey wrote:
> Two, pretend the problem away and check in the file now.
> I don't really have a preference. However it would be good to decide
> soon. So, please send email today.
For what it's worth, in GNU make I don't archive this file at all;
instead I retrieve it dynamically from the gnulib repository. I do this
with a bunch of files, such as po files and other things. This forces
people who want to build from Git repos to run a "make update" rule
first but it's nice because I don't need to keep up with whatever's the
latest upstream. Unless you have a need for some specialized version of
texinfo.tex this might be something to consider.
git-url = http://git.savannah.gnu.org/cgit
target = $(patsubst get-%,%,$@)
gnulib-url = $(git-url)/gnulib.git/plain/build-aux/$(patsubst get-config/%,%,$@)
get-config/texinfo.tex:
@echo $(WGET) $(gnulib-url) -O $(target) \
&& $(WGET) $(gnulib-url) -O $(target).t \
&& $(move_if_change)