summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-pt-ca/Makefile.am.patch
blob: 623921ce98212f42cbd34b0f874017901e86d247 (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-pt-ca-0.8.1/Makefile.am	2009-03-04 09:23:13.000000000 +0100
+++ apertium-pt-ca-0.8.1/Makefile.am	2010-09-15 16:02:22.000000000 +0200
@@ -69,7 +69,7 @@
 	rm $(BASENAME).$(LANG1).dix
 	rm $(BASENAME).$(LANG2).dix
 	rm $(BASENAME).$(PREFIX1).dix
-	
+
 apertium_pt_cadir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
 apertium_pt_modesdir=$(prefix)/share/apertium/modes/
 
@@ -88,12 +88,12 @@
 		    $(PREFIX1).t1x.bin \
 		    $(PREFIX2).t1x.bin \
 	            $(PREFIX1).mode $(PREFIX2).mode modes.xml
-		  
+
 install-data-local:
 	apertium-gen-modes modes.xml apertium-$(PREFIX1)
-	$(INSTALL_DATA) $(PREFIX1).mode $(apertium_pt_modesdir)
-	$(INSTALL_DATA) $(PREFIX2).mode $(apertium_pt_modesdir)
-	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_pt_cadir)
-	$(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(apertium_pt_cadir)
+	$(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_pt_modesdir)
+	$(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_pt_modesdir)
+	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_pt_cadir)
+	$(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_pt_cadir)
 
 CLEANFILES = -rf $(TARGETS_COMMON) modes