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
4 echo "/usr/local" > prefix; \
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/;