XEmacs 21.2.25 "Hephaestus".
[chise/xemacs-chise.git.1] / src / Makefile.in.in
index 8a02b11..36aede3 100644 (file)
@@ -320,6 +320,7 @@ DUMPENV = $(LOADPATH) $(MODULEPATH)
 temacs_loadup = $(DUMPENV) ./temacs -batch -l ${srcdir}/../lisp/loadup.el
 dump_temacs   = ${temacs_loadup} dump
 run_temacs    = ${temacs_loadup} run-temacs
+debug_temacs = $(DUMPENV) gdb temacs
 
 release: temacs ${libsrc}DOC $(mo_file) ${other_files}
 #ifdef CANNOT_DUMP
@@ -492,6 +493,9 @@ run-rtcmacs: rtcmacs
        runargs -batch -l ${srcdir}/../lisp/loadup.el run-temacs -q; \
        run' rtcmacs
 
+debug-temacs: temacs
+       -${debug_temacs}
+
 ## Purify, Quantify, PureCoverage are software quality products from
 ## Rational, formerly Pure Atria, formerly Pure Software.
 ##
@@ -739,5 +743,8 @@ install: ${PROGNAME}
 FRC.depend:
 depend: FRC.depend
        cd ${srcdir} && $(RM) depend.tmp && \
-       perl make-src-depend > depend.tmp && \
-       $(RM) depend && mv depend.tmp depend
+       perl ./make-src-depend > depend.tmp && \
+       if cmp -s depend depend.tmp; \
+       then $(RM) depend.tmp; \
+       else $(RM) depend && mv depend.tmp depend; \
+       fi