Index: lxpanel-0.5.9/src/plugins/Makefile.am
===================================================================
--- lxpanel-0.5.9.orig/src/plugins/Makefile.am
+++ lxpanel-0.5.9/src/plugins/Makefile.am
@@ -49,6 +49,3 @@ EXTRA_DIST = \
 	icon.xpm
 
 install-exec-hook:
-	rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.la
-	rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.a
-	rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.
Index: lxpanel-0.5.9/src/plugins/netstat/Makefile.am
===================================================================
--- lxpanel-0.5.9.orig/src/plugins/netstat/Makefile.am
+++ lxpanel-0.5.9/src/plugins/netstat/Makefile.am
@@ -33,4 +33,3 @@ netstat_la_LDFLAGS = \
     @LXPANEL_MODULE@
 
 install-exec-hook:
-	rm -f "$(moduledir)\*.la" *.a
Index: lxpanel-0.5.9/src/plugins/netstatus/Makefile.am
===================================================================
--- lxpanel-0.5.9.orig/src/plugins/netstatus/Makefile.am
+++ lxpanel-0.5.9/src/plugins/netstatus/Makefile.am
@@ -34,4 +34,3 @@ netstatus_la_LDFLAGS = \
 	$(LXPANEL_MODULE)
 
 install-exec-hook:
-	rm -f "$(moduledir)\*.la" *.a