summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-mk-en/Makefile.am.patch
blob: 7d988dc2fcc376ae738ec88f926472e983e1786d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- ../apertium-mk-en-0.1.1/Makefile.am	2012-02-08 22:55:49.000000000 +0100
+++ apertium-mk-en-0.1.1/Makefile.am	2012-02-09 08:27:51.750590033 +0100
@@ -79,7 +79,7 @@
 clean-dicts:
 	touch $(BASENAME).$(LANG1).dix $(BASENAME).$(LANG2).dix $(BASENAME).$(PREFIX1).dix
 	rm $(BASENAME).$(LANG1).dix
-	
+
 apertium_mk_enmodesdir=$(prefix)/share/apertium/modes/
 apertium_mk_endir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
 apertium_mk_en_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
@@ -98,12 +98,12 @@
 		    $(BASENAME).$(PREFIX1).t3x \
 		    $(PREFIX1).autopgen.bin \
 		    $(PREFIX1).mode 
-		  
+
 install-data-local:
 	apertium-gen-modes modes.xml apertium-$(PREFIX1)
-	$(INSTALL_DATA) $(PREFIX1).mode $(apertium_mk_enmodesdir)
-	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_mk_endir)
-	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(apertium_mk_endir)
-	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(apertium_mk_endir)
+	$(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_mk_enmodesdir)
+	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_mk_endir)
+	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_mk_endir)
+	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_mk_endir)
 
 CLEANFILES = -r $(TARGETS_COMMON)