Mercurial > octave-nkf
comparison libinterp/Makefile.am @ 15796:07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
* libinterp/Makefile.am: Add uninstall-built-in-docstrings rule.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 15 Dec 2012 07:07:16 -0800 |
parents | a2a2c241f2d5 |
children | 009984ecf419 d2774d202323 |
comparison
equal
deleted
inserted
replaced
15795:9a10fa38ef01 | 15796:07231ebb6df3 |
---|---|
289 endif | 289 endif |
290 | 290 |
291 if AMCOND_BUILD_DOCS | 291 if AMCOND_BUILD_DOCS |
292 install-data-hook: install-oct install-built-in-docstrings | 292 install-data-hook: install-oct install-built-in-docstrings |
293 else | 293 else |
294 install-data-hook: install-oct | 294 install-data-hook: install-oct uninstall-built-in-docstrings |
295 endif | 295 endif |
296 | 296 |
297 uninstall-local: uninstall-oct | 297 uninstall-local: uninstall-oct uninstall-built-in-docstrings |
298 | 298 |
299 if AMCOND_ENABLE_DYNAMIC_LINKING | 299 if AMCOND_ENABLE_DYNAMIC_LINKING |
300 install-oct: | 300 install-oct: |
301 $(top_srcdir)/build-aux/mkinstalldirs $(DESTDIR)$(octfiledir) | 301 $(top_srcdir)/build-aux/mkinstalldirs $(DESTDIR)$(octfiledir) |
302 if [ -n "`cat $(DLDFCN_PKG_ADD_FILE)`" ]; then \ | 302 if [ -n "`cat $(DLDFCN_PKG_ADD_FILE)`" ]; then \ |
328 | 328 |
329 if AMCOND_BUILD_DOCS | 329 if AMCOND_BUILD_DOCS |
330 install-built-in-docstrings: | 330 install-built-in-docstrings: |
331 $(MKDIR_P) $(DESTDIR)$(octetcdir) | 331 $(MKDIR_P) $(DESTDIR)$(octetcdir) |
332 $(INSTALL_DATA) DOCSTRINGS $(DESTDIR)$(octetcdir)/built-in-docstrings | 332 $(INSTALL_DATA) DOCSTRINGS $(DESTDIR)$(octetcdir)/built-in-docstrings |
333 endif | 333 |
334 .PHONY: install-built-in-docstrings | 334 uninstall-built-in-docstrings: |
335 rm -f $(DESTDIR)$(octetcdir)/built-in-docstrings | |
336 endif | |
337 .PHONY: install-built-in-docstrings uninstall-built-in-docstrings | |
335 | 338 |
336 CLEANFILES = \ | 339 CLEANFILES = \ |
337 $(DLDFCN_PKG_ADD_FILE) \ | 340 $(DLDFCN_PKG_ADD_FILE) \ |
338 interpfcn/graphics-props.cc \ | 341 interpfcn/graphics-props.cc \ |
339 parse-tree/oct-parse.output | 342 parse-tree/oct-parse.output |