diff doc/interpreter/Makefile.in @ 4098:8496ae60db8a

[project @ 2002-10-10 05:20:20 by jwe]
author jwe
date Thu, 10 Oct 2002 05:20:21 +0000
parents 5a82e874999b
children 040314da2fec
line wrap: on
line diff
--- a/doc/interpreter/Makefile.in	Wed Oct 09 20:26:27 2002 +0000
+++ b/doc/interpreter/Makefile.in	Thu Oct 10 05:20:21 2002 +0000
@@ -62,12 +62,12 @@
 all: octave.info octave.dvi octave.ps octave_toc.html
 .PHONY: all
 
-$(TEXINFO): src-DOCSTRINGS scripts-DOCSTRINGS munge-texi
+$(TEXINFO): src-DOCSTRINGS scripts-DOCSTRINGS munge-texi$(BUILD_EXEEXT)
 
 %.o : %.cc
 	$(BUILD_CXX) -c $(INCFLAGS) -DHAVE_CONFIG_H $< -o $@
 
-munge-texi: munge-texi.o Map-s.o
+munge-texi$(BUILD_EXEEXT): munge-texi.o Map-s.o
 	$(BUILD_CXX) -o $@ $^
 
 src-DOCSTRINGS:
@@ -83,7 +83,7 @@
 	@./munge-texi \
 	  -d $(TOPDIR)/src/DOCSTRINGS \
 	  -d $(TOPDIR)/scripts/DOCSTRINGS < $< > $@.t
-	@mv $@.t $@
+	@$(top_srcdir)/move-if-change $@.t $@
 
 octave.info: $(MAIN_TEXINFO) $(SUB_TEXINFO) ../conf.texi
 	-makeinfo -I$(srcdir) -I$(srcdir)/.. $<
@@ -179,7 +179,7 @@
 	octave.cps octave.fns octave.ins octave.kys octave.ops \
 	octave.pgs octave.rds octave.tps octave.vrs octave.aux \
 	octave.log octave.toc \
-	munge-texi munge-texi.o Map-s.o
+	munge-texi$(BUILD_EXEEXT) munge-texi.o Map-s.o
 .PHONY: mostlyclean clean
 
 distclean: clean