Mercurial > octave-nkf
view doc/interpreter/images/Makefile.in @ 5966:be252143f5e1
[project @ 2006-08-24 20:06:24 by jwe]
author | jwe |
---|---|
date | Thu, 24 Aug 2006 20:06:24 +0000 |
parents | 8702f00329bf |
children |
line wrap: on
line source
TOPDIR = ../../.. srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ include $(TOPDIR)/Makeconf SOURCES = sparseimages.m SPARSEIMAGES_1 = gplot grid spmatrix spchol spcholperm SPARSEIMAGES = \ $(addsuffix .eps, $(SPARSEIMAGES_1)) \ $(addsuffix .png, $(SPARSEIMAGES_1)) \ $(addsuffix .txt, $(SPARSEIMAGES_1)) # These are kept separate from the rest because they are generated # from the EPS files instead of directly from the sparseimages.m script. SPARSEIMAGES_PDF = \ $(addsuffix .pdf, $(SPARSEIMAGES_1)) IMAGES = $(SPARSEIMAGES) $(SPARSEIMAGES_PDF) DISTFILES = Makefile.in $(SOURCES) $(IMAGES) all: $(IMAGES) .PHONY: all define run-octave $(TOPDIR)/run-octave -f -q -H -p $(srcdir) \ --eval "$(notdir $(basename $<)) ('$(notdir $(basename $@))', '$(patsubst .%,%, $(suffix $@))')" endef $(SPARSEIMAGES): sparseimages.m $(run-octave) %.pdf : %.eps if [ -f $< ] ; then $(GHOSTSCRIPT) -dBATCH -dEPSCrop -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$@ $< ; fi install install-strip: .PHONY: install install-strip uninstall: .PHONY: uninstall tags: $(SOURCES) ctags $(SOURCES) TAGS: $(SOURCES) etags $(SOURCES) clean: .PHONY: clean mostlyclean: .PHONY: mostlyclean distclean: clean rm -f Makefile .PHONY: distclean maintainer-clean: distclean rm -f tags TAGS rm -f $(IMAGES) .PHONY: maintainer-clean dist: ln $(DISTFILES) ../../../`cat ../../../.fname`/doc/interpreter/images .PHONY: dist