summaryrefslogtreecommitdiff
blob: f262a34a53e471970261c6bf28c3f0f5b6c009b5 (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
--- Makefile	2001-06-29 18:31:25.000000000 +0200
+++ ../Makefile	2005-02-06 21:43:07.838584616 +0100
@@ -1,20 +1,17 @@
+include config.mak
+
 DICT = portugues.aspell
 
 CONFIG = portugues.dat
 PHONET = portugues_phone.dat
 
-pkgdatadir = `aspell dump config | grep '^. data-dir current' | sed 's/^.*: \(.*\)$$/\1/'`
-pkglibdir  = `aspell dump config | grep '^. dict-dir current' | sed 's/^.*: \(.*\)$$/\1/'`
-pspell_pkgdatadir = `pspell-config pkgdatadir`
-
-INSTALL = /usr/bin/install -c
+INSTALL = install -c
 INSTALL_DATA = ${INSTALL} -m 644
 
 all: portugues pt-aspell.pwli
 
 portugues: $(DICT) $(PHONET) $(CONFIG)
-	cp $(pkgdatadir)/iso8859-1.dat ./
-	aspell --data-dir=. --lang=portugues create master ./portugues < $(DICT)
+	aspell --data-dir=${pkgdatadir} --lang=portugues create master ./portugues < $(DICT)
 
 pt-aspell.pwli:
 	echo $(pkglibdir)/portugues > pt-aspell.pwli