changeset 2342:b1050f14b429

[gaim-migrate @ 2355] no more version committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 21 Sep 2001 20:57:20 +0000
parents 5486d558ecee
children 29449a6b79e6
files plugins/Makefile.am
diffstat 1 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/Makefile.am	Fri Sep 21 20:47:37 2001 +0000
+++ b/plugins/Makefile.am	Fri Sep 21 20:57:20 2001 +0000
@@ -3,13 +3,9 @@
 .c.so:
 	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
 	$(LIBTOOL) --mode=link    $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) $(PLUGIN_LIBS)
-	rm -f tmp$@.lo tmp$@.o libtmp$@.la
-	if test -f .libs/libtmp$@.so ; then \
-		cp .libs/libtmp$@.so $@ ; \
-	elif test -f .libs/libtmp$@.so.0.0 ; then \
-		cp .libs/libtmp$@.so.0.0 $@ ; \
-	fi
-	rm -f .libs/libtmp$@.*
+	@rm -f tmp$@.lo tmp$@.o libtmp$@.la
+	@cp .libs/libtmp$@.so $@
+	@rm -f .libs/libtmp$@.*
 
 if PLUGINS
 
@@ -20,7 +16,7 @@
 $(plugin_DATA): $(top_srcdir)/src/gaim.h
 
 clean distclean:
-	$(RM) $(plugin_DATA)
+	rm -rf $(plugin_DATA) .libs
 
 else