summaryrefslogtreecommitdiff
path: root/texinfos.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-01-14 23:48:40 +0000
committerTom Tromey <tromey@redhat.com>1996-01-14 23:48:40 +0000
commit929da33013bfe826e0bc9cff85724aa7a01f0002 (patch)
tree8d3e06cb5cd6013fdd1b8a866996f22d1deb91ec /texinfos.am
parentf9a3247caa033390486eba341ffc44346db237db (diff)
downloadautomake-929da33013bfe826e0bc9cff85724aa7a01f0002.tar.gz
Fixes from Franc,ois
Diffstat (limited to 'texinfos.am')
-rw-r--r--texinfos.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/texinfos.am b/texinfos.am
index 714ed6268..d67aef7bd 100644
--- a/texinfos.am
+++ b/texinfos.am
@@ -27,8 +27,10 @@
install-info: $(INFO_DEPS)
$(top_srcdir)/mkinstalldirs $(infodir)
for file in $(INFO_DEPS); do \
-## This ${...} is in the shell, not in make.
- for ifile in $(srcdir)/$${file}*; do \
+## This ${...} is in the shell, not in make. We use these strange
+## circumlocutions because we want the "ifile" to be relative, for the
+## install.
+ for ifile in `cd $(srcdir) && echo $${file}*`; do \
$(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
done; \
## We need the 'else' because in some broken versions of sh 'if' will