Mercurial > octave-nkf
changeset 15735:487ecfde7feb
build: Don't delete java-images under source control when using maintainer-clean target.
* doc/interpreter/Makefile.am: Define BUILT_IMAGES variable whose contents are
deleted when using maintainer-clean target.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 06 Dec 2012 10:33:36 -0800 |
parents | 5c40e5b9cef2 |
children | 6faa01ff2967 |
files | doc/interpreter/Makefile.am |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/Makefile.am Thu Dec 06 09:16:35 2012 -0800 +++ b/doc/interpreter/Makefile.am Thu Dec 06 10:33:36 2012 -0800 @@ -94,13 +94,19 @@ java-images/image008.png \ java-images/image009.png -IMAGES = \ +BUILT_IMAGES = \ $(IMAGES_EPS) \ $(IMAGES_PDF) \ $(IMAGES_PNG) \ - $(IMAGES_TXT) \ + $(IMAGES_TXT) + +IMAGES = \ + $(BUILT_IMAGES) \ $(JAVA_IMAGES) +## FIXME: JAVA_IMAGES will eventually need to be added to the HTML build. +## It will require a different Makefile rule later because +## JAVA_IMAGES live in a subdir rather than in the current directory. HTMLDIR_IMAGES = $(addprefix octave.html/, $(IMAGES_PNG)) LOGOS = \ @@ -285,5 +291,5 @@ DISTCLEANFILES = $(BUILT_TEXINFOS) doc-cache -MAINTAINERCLEANFILES = $(IMAGES) +MAINTAINERCLEANFILES = $(BUILT_IMAGES)