# Common command to find subdirectories
-setwins=subdirs=`find $$wd -type d -print`; \
+setwins=subdirs=`(cd $$wd; find . -type d -print)`; \
for file in $$subdirs; do \
case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; \
- *) wins="$$wins $$file" ;; \
+ *) wins="$$wins $$wd/$$file" ;; \
esac; \
done
-setwins_almost=subdirs=`find $$wd -type d -print`; \
+setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \
for file in $$subdirs; do \
case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; \
- *) wins="$$wins $$file" ;; \
+ *) wins="$$wins $$wd/$$file" ;; \
esac; \
done
# .elc is present.
recompile: doit $(lisp)/progmodes/cc-mode.elc
- $(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp)
+ $(EMACS) $(EMACSOPT) --eval "(batch-byte-recompile-directory 0)" $(lisp)
# CC Mode uses a compile time macro system which causes a compile time
# dependency in cc-mode.elc on the macros in cc-langs.el and the
fi \
fi
-maintainer-clean:
+maintainer-clean: distclean
cd $(lisp); rm -f *.elc */*.elc $(AUTOGENEL)
+bootstrap-clean:
+ cd $(lisp); rm -f *.elc */*.elc
+
# Generate/update files for the bootstrap process.
bootstrap: update-subdirs autoloads compile
distclean:
-rm -f ./Makefile
-# arch-tag: d4ea703a-b91c-405c-a171-8dde30b163a7
# Makefile ends here.