summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-sv-da/Makefile.am.patch
blob: 13542d70c49a469944c0eccb3786c51b7e358349 (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
30
31
32
33
34
35
--- ../apertium-sv-da-0.5.0/Makefile.am	2009-09-22 14:53:23.000000000 +0200
+++ apertium-sv-da-0.5.0/Makefile.am	2010-09-15 15:34:16.000000000 +0200
@@ -53,7 +53,7 @@
 	apertium-validate-transfer $(BASENAME).$(PREFIX2).t1x
 	apertium-preprocess-transfer $(BASENAME).$(PREFIX2).t1x \
 	                             $(PREFIX2).t1x.bin
-	                             
+
 
 $(PREFIX1).mode: modes.xml 
 	apertium-gen-modes modes.xml
@@ -68,7 +68,7 @@
            $(BASENAME).$(LANG2).dix $(BASENAME).$(LANG1).tsx \
            $(BASENAME).$(LANG2).tsx $(BASENAME).$(PREFIX1).t1x \
            $(BASENAME).$(PREFIX2).t1x $(PREFIX1).prob $(PREFIX2).prob modes.xml
-           
+
 apertium_sv_modesdir=$(prefix)/share/apertium/modes/
 apertium_sv_dadir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
 apertium_sv_da_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
@@ -82,10 +82,10 @@
 
 install-data-local:
 	apertium-gen-modes modes.xml apertium-$(PREFIX1)
-	$(INSTALL_DATA) $(PREFIX1).mode $(apertium_sv_modesdir)
-	$(INSTALL_DATA) $(PREFIX2).mode $(apertium_sv_modesdir)
-	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_sv_dadir)
-	$(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(apertium_sv_dadir)
+	$(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_sv_modesdir)
+	$(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_sv_modesdir)
+	$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_sv_dadir)
+	$(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_sv_dadir)
 	cp *.mode modes/