comparison doc/interpreter/Makefile.in @ 5806:b2a802aa0cda

[project @ 2006-05-10 22:30:50 by jwe]
author jwe
date Wed, 10 May 2006 22:30:50 +0000
parents ace8d8d26933
children f9ac7ebf0e19
comparison
equal deleted inserted replaced
5805:5bfb24f90bdd 5806:b2a802aa0cda
51 51
52 DISTDIRS = HTML 52 DISTDIRS = HTML
53 53
54 DISTSUBDIRS = $(IMAGEDIR) 54 DISTSUBDIRS = $(IMAGEDIR)
55 55
56 SUBDIRS := $(IMAGEDIR)
57
56 # Look for version.h to get version information. 58 # Look for version.h to get version information.
57 xfiles := $(TOPDIR)/src/version.h $(srcdir)/$(TOPDIR)/src/version.h 59 xfiles := $(TOPDIR)/src/version.h $(srcdir)/$(TOPDIR)/src/version.h
58 60
59 version_file := $(firstword $(foreach file, $(xfiles), $(wildcard $(file)))) 61 version_file := $(firstword $(foreach file, $(xfiles), $(wildcard $(file))))
60 62
88 -d $(TOPDIR)/scripts/DOCSTRINGS < $< > $@.t 90 -d $(TOPDIR)/scripts/DOCSTRINGS < $< > $@.t
89 @$(top_srcdir)/move-if-change $@.t $@ 91 @$(top_srcdir)/move-if-change $@.t $@
90 92
91 stamp-images: 93 stamp-images:
92 $(MAKE) -C images 94 $(MAKE) -C images
93 touch $@ 95 .PHONY: stamp-images
94 96
95 octave.info: stamp-images $(TEXINFO) 97 octave.info: stamp-images $(TEXINFO)
96 -$(MAKEINFO) -I.. -I$(srcdir) -I$(srcdir)/.. -I$(IMAGEDIR) $(MAIN_TEXINFO) 98 -$(MAKEINFO) -I.. -I$(srcdir) -I$(srcdir)/.. -I$(IMAGEDIR) $(MAIN_TEXINFO)
97 99
98 octave.dvi: stamp-images $(TEXINFO) 100 octave.dvi: stamp-images $(TEXINFO)
129 if [ -d HTML ]; then true; else mkdir HTML; fi 131 if [ -d HTML ]; then true; else mkdir HTML; fi
130 132
131 check: all 133 check: all
132 .PHONY: check 134 .PHONY: check
133 135
134 install install-strip: all 136 install install-strip uninstall clean mostlyclean distclean maintainer-clean::
137 @$(subdir-for-command)
138 .PHONY: install install-strip uninstall
139 .PHONY: clean mostlyclean distclean maintainer-clean
140
141 install install-strip:: all
135 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(man1dir) $(DESTDIR)$(infodir) 142 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(man1dir) $(DESTDIR)$(infodir)
136 @if test -d $(DESTDIR)$(man1dir); then \ 143 @if test -d $(DESTDIR)$(man1dir); then \
137 for f in $(MAN_BASE); do \ 144 for f in $(MAN_BASE); do \
138 rm -f $(DESTDIR)$(man1dir)/$$f$(man1ext); \ 145 rm -f $(DESTDIR)$(man1dir)/$$f$(man1ext); \
139 echo "installing $(srcdir)/$$f.1 in $(DESTDIR)$(man1dir)"; \ 146 echo "installing $(srcdir)/$$f.1 in $(DESTDIR)$(man1dir)"; \
168 else \ 175 else \
169 echo "installing $(srcdir)/dir in $(DESTDIR)$(infodir)"; \ 176 echo "installing $(srcdir)/dir in $(DESTDIR)$(infodir)"; \
170 $(INSTALL_DATA) $(srcdir)/dir $(DESTDIR)$(infodir)/dir; \ 177 $(INSTALL_DATA) $(srcdir)/dir $(DESTDIR)$(infodir)/dir; \
171 fi; \ 178 fi; \
172 fi 179 fi
173 .PHONY: install install-strip 180
174 181 uninstall::
175 uninstall:
176 rm -f $(infodir)/octave.info* 182 rm -f $(infodir)/octave.info*
177 for f in $(MAN_BASE); do rm -f $(DESTDIR)$(man1dir)/$$f$(man1ext); done 183 for f in $(MAN_BASE); do rm -f $(DESTDIR)$(man1dir)/$$f$(man1ext); done
178 .PHONY: uninstall
179 184
180 tags: $(SOURCES) 185 tags: $(SOURCES)
181 ctags $(SOURCES) 186 ctags $(SOURCES)
182 187
183 TAGS: $(SOURCES) 188 TAGS: $(SOURCES)
191 octave.ky octave.op octave.pg octave.rd octave.tp octave.vr \ 196 octave.ky octave.op octave.pg octave.rd octave.tp octave.vr \
192 octave.cps octave.fns octave.ins octave.kys octave.ops \ 197 octave.cps octave.fns octave.ins octave.kys octave.ops \
193 octave.pgs octave.rds octave.tps octave.vrs octave.aux \ 198 octave.pgs octave.rds octave.tps octave.vrs octave.aux \
194 octave.log octave.toc \ 199 octave.log octave.toc \
195 munge-texi$(BUILD_EXEEXT) munge-texi.o \ 200 munge-texi$(BUILD_EXEEXT) munge-texi.o \
196 .PHONY: mostlyclean clean
197 201
198 distclean:: clean 202 distclean:: clean
199 rm -f Makefile 203 rm -f Makefile
200 .PHONY: distclean 204
201 205 maintainer-clean:: clean-texi
202 maintainer-clean:: distclean clean-texi 206 rm -f Makefile tags TAGS $(FORMATTED)
203 rm -f tags TAGS $(FORMATTED)
204 rm -rf HTML 207 rm -rf HTML
205 .PHONY: maintainer-clean
206 208
207 clean-texi: 209 clean-texi:
208 rm -f $(SUB_TEXINFO) 210 rm -f $(SUB_TEXINFO)
209 .PHONY: clean-texi 211 .PHONY: clean-texi
210 212