altoslib/altosuilib: clean all versions of the .jar file
authorKeith Packard <keithp@keithp.com>
Tue, 9 Sep 2014 16:38:03 +0000 (09:38 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 9 Sep 2014 16:38:03 +0000 (09:38 -0700)
When we switch libary versions, we want to remove the old ones; just
have 'make clean' remove all versions of the libaries.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/Makefile.am
altosuilib/Makefile.am

index e81418bb318dad34f82fc9db7c624094229b49bd..0ad9b7dad226236c8d8b1212bb9794c92fa60f65 100644 (file)
@@ -131,7 +131,7 @@ JAR=altoslib_$(ALTOSLIB_VERSION).jar
 all-local: $(JAR)
 
 clean-local:
-       -rm -rf bin $(JAR)
+       -rm -rf $(JAVAROOT) altoslib_*.jar
 
 install-altoslibJAVA: $(JAR)
        @$(NORMAL_INSTALL)
index 21ccd131ef42418cf81cb2d366f7216da08c0567..d51da91de03f636cd81f9539804bcdee0cb42f64 100644 (file)
@@ -103,7 +103,7 @@ ICONJAR= -C $(ICONDIR) redled.png -C $(ICONDIR) redoff.png \
 all-local: $(JAR)
 
 clean-local:
-       -rm -rf $(JAVAROOT) $(JAR)
+       -rm -rf $(JAVAROOT) altosuilib_*.jar
 
 install-altosuilibJAVA: $(JAR)
        @$(NORMAL_INSTALL)