Commit e6124927 authored by Glenn Morris's avatar Glenn Morris
Browse files

* Makefile.in (install-arch-indep): Use INSTALL_DATA for the DOC file.

parent a873f274
2012-05-11 Glenn Morris <rgm@gnu.org> 2012-05-11 Glenn Morris <rgm@gnu.org>
* Makefile.in (install-arch-indep): There are no more Makefile.c files. * Makefile.in (install-arch-indep): There are no more Makefile.c files.
Use INSTALL_DATA for the DOC file.
2012-05-10 Glenn Morris <rgm@gnu.org> 2012-05-10 Glenn Morris <rgm@gnu.org>
......
...@@ -455,6 +455,8 @@ MV_DIRS = for i in $$dir; do rm -fr `basename "$$i"` ; mv "$$i" . ; done ...@@ -455,6 +455,8 @@ MV_DIRS = for i in $$dir; do rm -fr `basename "$$i"` ; mv "$$i" . ; done
### Install the executables that were compiled specifically for this machine. ### Install the executables that were compiled specifically for this machine.
### It would be nice to do something for a parallel make ### It would be nice to do something for a parallel make
### to ensure that install-arch-indep finishes before this starts. ### to ensure that install-arch-indep finishes before this starts.
### (TODO Why would it be nice? Why not just make this depend on
### install-arch-indep then?)
install-arch-dep: mkdir install-arch-dep: mkdir
(cd lib-src; \ (cd lib-src; \
$(MAKE) install $(MFLAGS) prefix=${prefix} \ $(MAKE) install $(MFLAGS) prefix=${prefix} \
...@@ -579,11 +581,10 @@ install-arch-indep: mkdir info install-etc ...@@ -579,11 +581,10 @@ install-arch-indep: mkdir info install-etc
docfile="DOC"; \ docfile="DOC"; \
fi; \ fi; \
echo "Copying etc/$${docfile} to $(DESTDIR)${docdir} ..." ; \ echo "Copying etc/$${docfile} to $(DESTDIR)${docdir} ..." ; \
(cd ./etc; tar -chf - $${docfile}) \ ${INSTALL_DATA} etc/$${docfile} $(DESTDIR)${docdir}/$${docfile}; \
|(cd $(DESTDIR)${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
(cd $(DESTDIR)$(docdir); \ (cd $(DESTDIR)$(docdir); \
$(set_installuser); \ $(set_installuser); \
chown $${installuser} DOC*; chmod a+r DOC*; \ chown $${installuser} DOC*; \
if test "`echo DOC-*`" != "DOC-*"; then rm -f DOC; fi); \ if test "`echo DOC-*`" != "DOC-*"; then rm -f DOC; fi); \
else true; fi else true; fi
-unset CDPATH; \ -unset CDPATH; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment