changeset 1946:b50fed90f978

Handle clean-pulse-java being undefined. 2010-02-24 Andrew John Hughes <ahughes@redhat.com> * Makefile.am: Add PULSE_JAVA_CLEAN_TARGET to handle optionally defined clean-pulse-java target.
author Andrew John Hughes <ahughes@redhat.com>
date Thu, 25 Feb 2010 12:21:49 +0000
parents 3ba35c5b6fd9
children 6731ec7aa417 d93c134e3357
files ChangeLog Makefile.am
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 24 23:30:18 2010 +0000
+++ b/ChangeLog	Thu Feb 25 12:21:49 2010 +0000
@@ -1,3 +1,9 @@
+2010-02-24 Andrew John Hughes  <ahughes@redhat.com>
+
+	* Makefile.am: Add PULSE_JAVA_CLEAN_TARGET
+	to handle optionally defined clean-pulse-java
+	target.
+
 2010-02-24 Andrew John Hughes  <ahughes@redhat.com>
 
 	* Makefile.am: Add THANKYOU to
--- a/Makefile.am	Wed Feb 24 23:30:18 2010 +0000
+++ b/Makefile.am	Thu Feb 25 12:21:49 2010 +0000
@@ -175,6 +175,7 @@
 PULSE_JAVA_JAVA_SRCDIR = $(PULSE_JAVA_DIR)/src/java
 PULSE_JAVA_CLASS_DIR = $(PULSE_JAVA_BUILDDIR)/classes
 PULSE_JAVA_TARGET = stamps/pulse-java.stamp
+PULSE_JAVA_CLEAN_TARGET = clean-pulse-java
 endif
 
 # FIXME (HotSpot): no longer needed
@@ -609,7 +610,7 @@
 check-local: jtregcheck
 
 #FIXME (clean): Should become clean-local.
-distclean-local: clean-copy clean-jtreg clean-jtreg-reports clean-pulse-java 
+distclean-local: clean-copy clean-jtreg clean-jtreg-reports $(PULSE_JAVA_CLEAN_TARGET)
 	rm -rf stamps
 	rm -f rt-source-files.txt \
 	  extra-source-files.txt