A patch for manual install
H . J . Lu
hjl@lucon.org
Sat Mar 17 22:21:00 GMT 2001
If mantal/dir is read-only, "make install" will fail in manual. Here
is a patch.
H.J.
----
2001-03-17 H.J. Lu <hjl@gnu.org>
* manual/Makefile (install): Use $(INSTALL_DATA) instead of
cp to install `dir'.
diff -u -p -r1.1.1.3 Makefile
--- manual/Makefile 2001/01/21 01:22:23 1.1.1.3
+++ manual/Makefile 2001/03/18 06:16:45
@@ -178,14 +178,14 @@ ifneq ($(strip $(MAKEINFO)),:)
ifneq ($(OLD_DEBIAN_INSTALL_INFO),yes)
install: $(inst_infodir)/libc.info dir-add.info
@if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
- test -f $(inst_infodir)/dir || cp dir $(inst_infodir);\
+ test -f $(inst_infodir)/dir || $(INSTALL_DATA) dir $(inst_infodir);\
$(INSTALL_INFO) --info-dir=$(inst_infodir) $(inst_infodir)/libc.info;\
$(INSTALL_INFO) --info-dir=$(inst_infodir) dir-add.info;\
else : ; fi
else
install: $(inst_infodir)/libc.info dir-add.info
@if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
- test -f $(inst_infodir)/dir || cp dir $(inst_infodir);\
+ test -f $(inst_infodir)/dir || $(INSTALL_DATA) dir $(inst_infodir);\
$(INSTALL_INFO) --info-dir=$(inst_infodir) \
--section '^GNU Libraries:' 'GNU Libraries:' \
$(inst_infodir)/libc.info;\
More information about the Libc-alpha
mailing list