changeset 5651:6d0ea746f50f

[project @ 2006-03-08 22:57:20 by jwe]
author jwe
date Wed, 08 Mar 2006 22:57:20 +0000
parents c27fea6f72ae
children f37b562ec93c
files doc/interpreter/images/Makefile.in
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/images/Makefile.in	Wed Mar 08 21:28:05 2006 +0000
+++ b/doc/interpreter/images/Makefile.in	Wed Mar 08 22:57:20 2006 +0000
@@ -6,15 +6,15 @@
 
 include $(TOPDIR)/Makeconf
 
-SOURCES = $(wildcard *.m)
+SOURCES = $(wildcard $(srcdir)/*.m)
 
-FUNCTIONS = $(SOURCES:.m=)
+FUNCTIONS = $(patsubst %.m, %, $(notdir $(SOURCES)))
 
 DISTFILES = Makefile.in $(SOURCES)
 
 OCTAVE_BINARY = $(TOPDIR)/src/octave
 
-OCTAVE_SCRIPT_PATH = .//:$(TOPDIR)/src//:$(TOPDIR)/scripts//
+OCTAVE_SCRIPT_PATH = .//:$(srcdir)//:$(TOPDIR)/src//:$(top_srcdir)/scripts//
 
 ifeq ($(SHARED_LIBS), true)
   OCTAVE_LD_LIBRARY_PATH = $(TOPDIR)/src:$(TOPDIR)/liboctave:$(TOPDIR)/libcruft
@@ -26,15 +26,15 @@
   SET_LD_LIBRARY_PATH = @library_path_var@="$(XLD_LIBRARY_PATH)"
 endif
 
-all: png eps pdf txt
+all: png eps txt
 .PHONY: all
 
-png eps pdf txt:
+png eps txt:
 	for F in $(FUNCTIONS); do \
 	  $(SET_LD_LIBRARY_PATH) $(OCTAVE_BINARY) \
 	    -f -q -H -p $(OCTAVE_SCRIPT_PATH) --eval "$$F ('../','$@')"; \
 	done
-.PHONY: png eps pdf txt
+.PHONY: png eps txt
 
 install install-strip: