File: 03_libtool_clean_does_not_work_well.patch

package info (click to toggle)
gfarm 2.7.20%2Bdfsg-1.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,348 kB
  • sloc: ansic: 188,252; sh: 43,469; cpp: 9,442; java: 6,866; makefile: 3,520; perl: 2,412; python: 1,449; ruby: 965; php: 807; sql: 173; xml: 51; csh: 2
file content (19 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: libtool clean doesn't work well.
 Thus, we need this change. 
Author: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2010-06-08

--- a/makes/lib.mk
+++ b/makes/lib.mk
@@ -32,10 +32,9 @@
 
 lib-veryclean: clean private-finalize
 	-test -z "$(EXTRA_VERYCLEAN_TARGETS)" || $(LTCLEAN) $(EXTRA_VERYCLEAN_TARGETS)
 	-test -z "$(LIBRARY)" || $(LTCLEAN) $(LIBRARY)
-	-test -z "$(LIBRARY_RESULT)" || $(LTCLEAN) $(LIBRARY_RESULT)
-
+	-rm -rf .libs
 
 lib-distclean: veryclean
 	-test ! -f $(srcdir)/Makefile.in || $(RM) -f Makefile