* Makefile.in (do-install): Correctly detect if ./etc and

${srcdir}/etc are the same.
This commit is contained in:
Jim Blandy 1993-05-28 06:55:13 +00:00
parent c82ed7283a
commit 65607c1f52

View file

@ -344,7 +344,7 @@ do-install: mkdir
rm -f $${subdir}/*~ ; \
done) ; \
done
-[ `(cd etc; /bin/pwd)` != `(cd ${etcdir}; /bin/pwd)` ] \
-[ `(cd etc; /bin/pwd)` != `(cd ${srcdir}/etc; /bin/pwd)` ] \
&& (echo "Copying ./etc..." ; \
(cd ./etc; tar cf - . )|(cd ${etcdir}; umask 0; tar xvf - ); \
for subdir in `find ${etcdir} -type d ! -name RCS -print` ; do \