updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lttoolbox-java / Makefile.patch
blob2be328d0593d00073ac63b98f4d88281fe0cb974
1 --- ../lttoolbox-java-3.2.0/Makefile 2010-01-26 14:46:14.000000000 +0100
2 +++ lttoolbox-java-3.2.0/Makefile 2010-09-19 21:01:14.000000000 +0200
3 @@ -11,8 +11,13 @@
4 echo "/usr/local" > prefix; \
5 fi
6 @echo installing into `cat prefix`;
7 - cp dist/lttoolbox.jar `cat prefix`/share/apertium/;
8 - cp -a lt-proc-j lt-expand-j lt-comp-j lt-validate-j `cat prefix`/bin/;
9 + if [ ! -d $(DESTDIR)`cat prefix` ]; then mkdir $(DESTDIR)`cat prefix`; fi
10 + if [ ! -d $(DESTDIR)`cat prefix`/share ]; then mkdir $(DESTDIR)`cat prefix`/share; fi
11 + if [ ! -d $(DESTDIR)`cat prefix`/share/apertium ]; then mkdir $(DESTDIR)`cat prefix`/share/apertium; fi
12 + cp dist/lttoolbox.jar $(DESTDIR)`cat prefix`/share/apertium/;
13 + cp dist/lttoolbox.jar $(DESTDIR)`cat prefix`/share/apertium/;
14 + if [ ! -d $(DESTDIR)`cat prefix`/bin ]; then mkdir $(DESTDIR)`cat prefix`/bin; fi
15 + cp -a lt-proc-j lt-expand-j lt-comp-j lt-validate-j $(DESTDIR)`cat prefix`/bin/;
17 tests:
18 ant -quiet test