diff options
author | wl <wl> | 2006-11-08 20:07:10 +0000 |
---|---|---|
committer | wl <wl> | 2006-11-08 20:07:10 +0000 |
commit | 19aa4cd64b871ffef2ecd319bf695f19eace15bf (patch) | |
tree | 00d5647eece522750d7e38a7253232464fdc2a49 /doc/Makefile.sub | |
parent | 4e010f81114d67a503f06b8841679baf175604f5 (diff) | |
download | groff-19aa4cd64b871ffef2ecd319bf695f19eace15bf.tar.gz |
* doc/Makefile.sub (install_data): Take care of proper paths while
installing info files. Bug reported by Bernd Warken.
Diffstat (limited to 'doc/Makefile.sub')
-rw-r--r-- | doc/Makefile.sub | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/Makefile.sub b/doc/Makefile.sub index 36218954..df772ad0 100644 --- a/doc/Makefile.sub +++ b/doc/Makefile.sub @@ -174,9 +174,10 @@ install_data: groff.info $(DOCFILES) $(PROCESSEDDOCFILES) $(make_install_html) \ # the existence of `groff.info'. d=.; \ test -f "groff.info" || d=$(srcdir); \ - for f in $$d/groff.info `ls $$d/groff.info*`; do \ + for p in $$d/groff.info `ls $$d/groff.info*`; do \ + f=`basename $$p`; \ rm -f $(DESTDIR)$(infodir)/$$f; \ - $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$f; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(infodir)/$$f; \ done $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) \ $(DESTDIR)$(infodir)/groff.info |