[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
automake 1.5 and install-info using . as well as srcdir
From: |
Karl Berry |
Subject: |
automake 1.5 and install-info using . as well as srcdir |
Date: |
Wed, 12 Sep 2001 12:35:23 -0400 |
In the Texinfo distribution, I want to install the info files from
. instead of $(srcdir). This is because Texinfo has the luxury of
generating the .info at build time instead of distribution time, since
the distribution itself includes makeinfo.
I noticed that Automake already has support for this, but it's
conditionalized for Cygnus only. I don't think this would hurt to do
unconditionally - seems probable that if there is a .info in the build
dir, it would preferable to install it instead of the one in srcdir.
Below is the trivial patch to do that.
If you don't buy that argument, then maybe you could add some sort of
option to enable that without enabling the rest of cygnus?
Thanks,
karl
*** /usr/local/gnu/share/automake/am/ORIG/texinfos.am Wed Sep 12 08:35:55 2001
--- /usr/local/gnu/share/automake/am/texinfos.am Wed Sep 12 08:58:18 2001
***************
*** 109,116 ****
$(mkinstalldirs) $(DESTDIR)$(infodir)
@list='$(INFO_DEPS)'; \
for file in $$list; do \
! ?CYGNUS? if test -f $$file; then d=.; else d=$(srcdir); fi; \
! ?!CYGNUS? d=$(srcdir); \
## We use these strange circumlocutions because we want the "ifile" to
## be relative, for the install.
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9]
$$file-[0-9][0-9]`; do \
--- 110,116 ----
$(mkinstalldirs) $(DESTDIR)$(infodir)
@list='$(INFO_DEPS)'; \
for file in $$list; do \
! if test -f $$file; then d=.; else d=$(srcdir); fi; \
## We use these strange circumlocutions because we want the "ifile" to
## be relative, for the install.
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9]
$$file-[0-9][0-9]`; do \
- automake 1.5 and install-info using . as well as srcdir,
Karl Berry <=