&& [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
&& (echo "Copying $${dir} to $${dest}..." ; \
(cd $${dir}; tar -cf - . ) \
- |(cd $${dest};umask 022; tar -xvf - && cat > /dev/null); \
+ | (cd $${dest}; umask 022; \
+ tar -xvf - && cat > /dev/null) || exit 1; \
for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \
chmod a+rx $${subdir} ; \
rm -rf $${subdir}/RCS ; \
then \
echo "Copying etc/DOC-* to ${docdir} ..." ; \
(cd ./etc; tar -cf - DOC*) \
- |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \
+ |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \
(cd $(docdir); chmod a+r DOC*; rm DOC); \
else true; fi
-unset CDPATH; \
then \
echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
(cd lisp; tar -cf - *.el *.elc) \
- |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \
+ |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \
else true; fi
-unset CDPATH; \
thisdir=`/bin/pwd`; \
(cd lwlib; chmod u+w *.[ch] Makefile README)
(cd src; $(MAKE) $(MFLAGS) relock)
-TAGS tags: lib-src src
- # The src subdir knows how to do the right thing
- # even when the build directory and source dir are different.
+# The src subdir knows how to do the right thing
+# even when the build directory and source dir are different.
+TAGS tags: lib-src src
cd src; $(MAKE) tags
check:
.PHONY: info dvi dist check html
force-info:
+# Note that man/Makefile knows how to
+# put the info files in $(srcdir),
+# so we can do ok running make in the build dir.
info: force-info
- # Note that man/Makefile knows how to
- # put the info files in $(srcdir),
- # so we can do ok running make in the build dir.
(cd man; $(MAKE) $(MFLAGS) info)
dvi:
(cd man; $(MAKE) $(MFLAGS) dvi)