Branch oldpackages for 14.07
[14.07/packages.git] / libs / clearsilver / patches / 002-make-install-depends.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -35,7 +35,7 @@ cs: output_dir
4           fi; \
5         done
6  
7 -install: all
8 +install:
9         ./mkinstalldirs $(DESTDIR)$(cs_includedir)
10         ./mkinstalldirs $(DESTDIR)$(bindir)
11         ./mkinstalldirs $(DESTDIR)$(libdir)
12 --- a/cgi/Makefile
13 +++ b/cgi/Makefile
14 @@ -38,7 +38,7 @@ $(STATIC_CSO): $(STATIC_OBJ) $(DEP_LIBS)
15  $(CGICSTEST_EXE): $(CGICSTEST_OBJ) $(DEP_LIBS)
16         $(LD) $@ $(CGICSTEST_OBJ) $(LDFLAGS) $(DLIBS) $(LIBS)
17  
18 -install: all
19 +install:
20         $(NEOTONIC_ROOT)/mkinstalldirs $(DESTDIR)$(cs_includedir)/cgi
21         $(INSTALL) -m 644 cgi.h $(DESTDIR)$(cs_includedir)/cgi
22         $(INSTALL) -m 644 cgiwrap.h $(DESTDIR)$(cs_includedir)/cgi
23 --- a/cs/Makefile
24 +++ b/cs/Makefile
25 @@ -89,7 +89,7 @@ test: $(CSTEST_EXE) $(CS_TESTS)
26         @touch test
27         @echo "Passed"
28         
29 -install: all
30 +install:
31         $(NEOTONIC_ROOT)/mkinstalldirs $(DESTDIR)$(cs_includedir)/cs
32         $(INSTALL) -m 644 cs.h $(DESTDIR)$(cs_includedir)/cs
33         $(INSTALL) -m 644 $(CS_LIB) $(DESTDIR)$(libdir)
34 --- a/dso/Makefile
35 +++ b/dso/Makefile
36 @@ -21,7 +21,7 @@ $(NEO_SO): $(NEO_STATIC_LIBS) $(DEP_LIBS
37  
38  #      $(LDSHARED) -o $@ $(LDFLAGS) -Wl,-whole-archive $(DLIBS)
39  
40 -install: all
41 +install:
42         $(NEOTONIC_ROOT)/mkinstalldirs $(DESTDIR)$(PYTHON_SITE)
43         $(INSTALL) $(TARGETS) $(DESTDIR)$(PYTHON_SITE)
44  
45 --- a/java-jni/Makefile
46 +++ b/java-jni/Makefile
47 @@ -74,7 +74,7 @@ $(NEO_UTIL_SO): $(NEO_UTIL_JAVA_JAR) $(N
48         $(LDSHARED) -o $@ $(LDFLAGS) $(NEO_UTIL_OBJ) $(LIBS)
49  
50  # I guess we'll just stick the .jar file in the lib directory
51 -install: all
52 +install:
53         $(INSTALL) $(NEO_UTIL_SO) $(DESTDIR)$(libdir)
54         $(INSTALL) $(NEO_UTIL_JAVA_JAR) $(DESTDIR)$(libdir)
55  
56 --- a/mod_ecs/Makefile
57 +++ b/mod_ecs/Makefile
58 @@ -19,7 +19,7 @@ all: $(TARGETS)
59  $(MOD_ECS_SO): $(MOD_ECS_SRC) $(DEP_LIBS)
60         $(APXS) -c -o $@ $(MOD_ECS_SRC)
61  
62 -install: all
63 +install:
64         $(NEOTONIC_ROOT)/mkinstalldirs $(DESTDIR)$(libexecdir)
65         $(INSTALL) $(MOD_ECS_SO) $(DESTDIR)$(libexecdir)
66  
67 --- a/python/Makefile
68 +++ b/python/Makefile
69 @@ -40,7 +40,7 @@ $(NEO_UTIL_PYD): $(NEO_UTIL_OBJ) $(DEP_L
70                 --target=i386-mingw32 \
71                 $(LDFLAGS) $(PYTHON_LIB) $(LIBS)
72  
73 -install: all
74 +install:
75         $(NEOTONIC_ROOT)/mkinstalldirs $(DESTDIR)$(PYTHON_SITE)
76         $(INSTALL) $(TARGETS) $(DESTDIR)$(PYTHON_SITE)
77  
78 --- a/ruby/Makefile
79 +++ b/ruby/Makefile
80 @@ -40,7 +40,7 @@ testrb: ext/hdf/hdf.so
81         @echo  "Passed ruby test"
82  
83  
84 -install: all
85 +install:
86         $(RUBY) install.rb install
87  
88  clean:
89 --- a/util/Makefile
90 +++ b/util/Makefile
91 @@ -21,7 +21,7 @@ $(UTL_LIB): $(UTL_OBJ)
92         $(AR) $@ $(UTL_OBJ)
93         $(RANLIB) $@
94  
95 -install: all
96 +install:
97         $(NEOTONIC_ROOT)/mkinstalldirs $(DESTDIR)$(cs_includedir)/util
98         $(INSTALL) -m 644 $(UTL_HDR) $(DESTDIR)$(cs_includedir)/util
99         $(INSTALL) -m 644 $(UTL_LIB) $(DESTDIR)$(libdir)