Mercurial > octave-libgccjit
comparison doc/interpreter/Makefile.in @ 8940:6994961bf1f4
use doc-cache instead of DOC for doc cache file name
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 09 Mar 2009 14:31:10 -0400 |
parents | eb63fbe60fab |
children | f262a3e9e21e |
comparison
equal
deleted
inserted
replaced
8939:4e1fed5d847b | 8940:6994961bf1f4 |
---|---|
148 | 148 |
149 # FIXME -- need to include generated figures here... | 149 # FIXME -- need to include generated figures here... |
150 DISTFILES = $(addprefix $(srcdir)/, Makefile.in contributors.in \ | 150 DISTFILES = $(addprefix $(srcdir)/, Makefile.in contributors.in \ |
151 mkcontrib.awk dir munge-texi.cc $(MAN_SRC) $(SOURCES) $(MAIN_TEXINFO)) \ | 151 mkcontrib.awk dir munge-texi.cc $(MAN_SRC) $(SOURCES) $(MAIN_TEXINFO)) \ |
152 $(SUB_TEXINFO) contributors.texi $(FORMATTED) $(IMAGES) mk_doc_cache.m \ | 152 $(SUB_TEXINFO) contributors.texi $(FORMATTED) $(IMAGES) mk_doc_cache.m \ |
153 DOC stmp-html | 153 doc-cache stmp-html |
154 | 154 |
155 DISTDIRS = HTML | 155 DISTDIRS = HTML |
156 | 156 |
157 DISTSUBDIRS := | 157 DISTSUBDIRS := |
158 | 158 |
168 %.spell : %.texi | 168 %.spell : %.texi |
169 rm -f $@ | 169 rm -f $@ |
170 $(SED) -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@-t | 170 $(SED) -e 's/@@/ at /g' -e 's/@[a-zA-Z]*//g' $< | spell > $@-t |
171 mv $@-t $@ | 171 mv $@-t $@ |
172 | 172 |
173 all: octave.info octave.pdf octave-a4.pdf HTML/index.html DOC | 173 all: octave.info octave.pdf octave-a4.pdf HTML/index.html doc-cache |
174 .PHONY: all | 174 .PHONY: all |
175 | 175 |
176 DOCSTRING_FILES := $(TOPDIR)/src/DOCSTRINGS $(TOPDIR)/scripts/DOCSTRINGS | 176 DOCSTRING_FILES := $(TOPDIR)/src/DOCSTRINGS $(TOPDIR)/scripts/DOCSTRINGS |
177 | 177 |
178 DOC: $(DOCSTRING_FILES) mk_doc_cache.m | 178 doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m |
179 $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m DOC $(DOCSTRING_FILES) || rm -f DOC | 179 $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(DOCSTRING_FILES) || rm -f doc-cache |
180 | 180 |
181 $(TEXINFO): $(DOCSTRING_FILES) munge-texi$(BUILD_EXEEXT) | 181 $(TEXINFO): $(DOCSTRING_FILES) munge-texi$(BUILD_EXEEXT) |
182 | 182 |
183 munge-texi$(BUILD_EXEEXT): munge-texi.cc | 183 munge-texi$(BUILD_EXEEXT): munge-texi.cc |
184 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS) | 184 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS) |
328 else \ | 328 else \ |
329 echo "installing $(srcdir)/dir in $(DESTDIR)$(infodir)"; \ | 329 echo "installing $(srcdir)/dir in $(DESTDIR)$(infodir)"; \ |
330 $(INSTALL_DATA) $(srcdir)/dir $(DESTDIR)$(infodir)/dir; \ | 330 $(INSTALL_DATA) $(srcdir)/dir $(DESTDIR)$(infodir)/dir; \ |
331 fi; \ | 331 fi; \ |
332 fi | 332 fi |
333 $(INSTALL_DATA) DOC $(DESTDIR)$(octetcdir)/DOC | 333 $(INSTALL_DATA) doc-cache $(DESTDIR)$(octetcdir)/doc-cache |
334 .PHONY: install install-strip | 334 .PHONY: install install-strip |
335 | 335 |
336 uninstall: | 336 uninstall: |
337 @$(subdir-for-command) | 337 @$(subdir-for-command) |
338 rm -f $(DESTDIR)$(infodir)/octave.info* | 338 rm -f $(DESTDIR)$(infodir)/octave.info* |
339 rm -f $(DESTDIR)$(infodir)/dir | 339 rm -f $(DESTDIR)$(infodir)/dir |
340 rm -f $(DESTDIR)$(octetcdir)/DOC | 340 rm -f $(DESTDIR)$(octetcdir)/doc-cache |
341 for f in $(MAN_BASE); do rm -f $(DESTDIR)$(man1dir)/$$f$(man1ext); done | 341 for f in $(MAN_BASE); do rm -f $(DESTDIR)$(man1dir)/$$f$(man1ext); done |
342 .PHONY: uninstall | 342 .PHONY: uninstall |
343 | 343 |
344 tags: $(SOURCES) | 344 tags: $(SOURCES) |
345 ctags $(SOURCES) | 345 ctags $(SOURCES) |
374 @$(subdir-for-command) | 374 @$(subdir-for-command) |
375 rm -f tags TAGS Makefile | 375 rm -f tags TAGS Makefile |
376 .PHONY: distclean | 376 .PHONY: distclean |
377 | 377 |
378 maintainer-clean: distclean clean-texi | 378 maintainer-clean: distclean clean-texi |
379 rm -f DOC stmp-html $(FORMATTED) $(IMAGES) | 379 rm -f doc-cache stmp-html $(FORMATTED) $(IMAGES) |
380 rm -rf HTML | 380 rm -rf HTML |
381 .PHONY: maintainer-clean | 381 .PHONY: maintainer-clean |
382 | 382 |
383 clean-texi: | 383 clean-texi: |
384 rm -f $(SUB_TEXINFO) contributors.texi octave-a4.texi octave-smallbook.texi | 384 rm -f $(SUB_TEXINFO) contributors.texi octave-a4.texi octave-smallbook.texi |