comparison doc/interpreter/Makefile.in @ 2624:7e24c1f29db4

[project @ 1997-01-26 04:40:00 by jwe]
author jwe
date Sun, 26 Jan 1997 04:40:10 +0000
parents ccd72573a0cf
children 0b852cbea582
comparison
equal deleted inserted replaced
2623:e7e72101b86c 2624:7e24c1f29db4
29 plot.texi poly.texi preface.texi program.texi quad.texi \ 29 plot.texi poly.texi preface.texi program.texi quad.texi \
30 rd-idx.texi rluser.texi set.texi signal.texi special.texi \ 30 rd-idx.texi rluser.texi set.texi signal.texi special.texi \
31 stats.texi stmt.texi strings.texi system.texi var.texi \ 31 stats.texi stmt.texi strings.texi system.texi var.texi \
32 vr-idx.texi 32 vr-idx.texi
33 33
34 FORMATTED = octave.dvi octave.ps octave.info octave.info-[0-9]* 34 FORMATTED = octave.dvi octave.ps octave.info octave.info octave.info-[0-9]*
35 35
36 DISTFILES = Makefile.in dir octave.1 conf.texi gpl.texi \ 36 DISTFILES = Makefile.in dir octave.1 conf.texi gpl.texi \
37 $(TEXINFO) $(FORMATTED) 37 $(TEXINFO) $(FORMATTED)
38
39 ifeq ($(wildcard octave.info), )
40 BINDISTFILES = $(srcdir)/octave.1 $(srcdir)/octave.info \
41 $(wildcard $(srcdir)/octave.info-[0-9]*)
42 else
43 BINDISTFILES = $(srcdir)/octave.1 octave.info octave.info-[0-9]*
44 endif
45
46 # Look for version.h to get version information.
47 xfiles := $(TOPDIR)/src/version.h $(srcdir)/$(TOPDIR)/src/version.h
48
49 version_file := $(firstword $(foreach file, $(xfiles), $(wildcard $(file))))
38 50
39 SPELL = $(patsubst %.texi, %.spell, $(ALL_TEXINFO)) 51 SPELL = $(patsubst %.texi, %.spell, $(ALL_TEXINFO))
40 52
41 %.spell : %.texi 53 %.spell : %.texi
42 rm -f $@ 54 rm -f $@
160 .PHONY: maintainer-clean 172 .PHONY: maintainer-clean
161 173
162 dist: all 174 dist: all
163 ln $(DISTFILES) ../../`cat ../../.fname`/doc/interpreter 175 ln $(DISTFILES) ../../`cat ../../.fname`/doc/interpreter
164 .PHONY: dist 176 .PHONY: dist
177
178 bin-dist:
179 if [ -n "$(BINDISTFILES)" ]; then \
180 ln $(BINDISTFILES) ../../`cat ../../.fname`/doc/interpreter ; \
181 fi
182 .PHONY: bin-dist