blob: 5e00f5cbdf30bf0450a94556c4be8a8f01c6bd07 (
plain) (
blame)
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
|
--- Makefile.orig Wed Aug 6 11:51:16 2003
+++ Makefile Wed Aug 6 11:51:47 2003
@@ -14,10 +14,10 @@
# build and installation paths
DESTDIR =
-PREFIX = /usr/local
+PREFIX ?= /usr/local
BIN = $(PREFIX)/bin
SHARE = $(PREFIX)/share/hspell
-LIBEXEC = $(PREFIX)/lib/hspell
+LIBEXEC = $(PREFIX)/libexec/hspell
MAN1 = $(PREFIX)/man/man1
all: cfrontend
@@ -59,8 +59,8 @@
sed 's+^my @dictionaries=.*$$+my @dictionaries=("gzip -dc $(SHARE)/wordlist.wgz|$(LIBEXEC)/wunzip|");+; s+my @likelyerror.*$$+my @likelyerror_dictionaries=("$(SHARE)/likelyerrors");+; s+@spellinghints_dictionaries=("spellinghints")+@spellinghints_dictionaries=("$(SHARE)/spellinghints")+' < hspell.pl > $@
chmod 755 $@
-CFLAGS=-O
-LDFLAGS=-s
+CFLAGS?=-O
+LDFLAGS?=-s
wunzip:
# experimental, not currently in use:
|