blob: 7b8af6124ae4fc0841a9b4d5b968d944362a30f0 (
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
36
37
38
39
40
41
|
$NetBSD: patch-aa,v 1.2 2003/05/22 07:30:15 wiz Exp $
--- Makefile.orig Wed Dec 31 02:33:53 1997
+++ Makefile Tue Mar 25 15:14:02 2003
@@ -9,12 +9,12 @@
###
# set this to the absolute path (less extn) of compressed dict.
-DICTPATH="/usr/local/lib/pw_dict"
+DICTPATH="${PREFIX}/libdata/pw_dict"
###
# Set this to the path of one or more files continaing wordlists.
-SRCDICTS=/usr/dict/words
+SRCDICTS=/usr/share/dict/words
###
# If you have installed the cracklib-dicts directory, use this
@@ -24,15 +24,15 @@
@echo "you evidently don't know what you're doing. go read the README"
all:
- ( cd cracklib && make && exit $$? )
- ( cd util && make DICTPATH=$(DICTPATH) && exit $$? )
-### ( cd passwd && make DICTPATH=$(DICTPATH) passwd && exit $$? )
+ ( cd cracklib && $(MAKE) && exit $$? )
+ ( cd util && $(MAKE) DICTPATH=$(DICTPATH) && exit $$? )
+### ( cd passwd && $(MAKE) DICTPATH=$(DICTPATH) passwd && exit $$? )
### touch all
clean:
- -( cd cracklib && make clean && exit $$? )
- -( cd util && make clean && exit $$? )
-### -( cd passwd && make clean && exit $$? )
+ -( cd cracklib && $(MAKE) clean && exit $$? )
+ -( cd util && $(MAKE) clean && exit $$? )
+### -( cd passwd && $(MAKE) clean && exit $$? )
-rm -f all installed Part* *.BAK *.bak *~
install: all
|