File: Makefile

package info (click to toggle)
cracklib2 2.7-8
  • links: PTS
  • area: main
  • in suites: potato
  • size: 424 kB
  • ctags: 113
  • sloc: ansic: 1,914; sh: 1,084; makefile: 166; perl: 63
file content (42 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download | duplicates (4)
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
42
###
# This program is copyright Alec Muffett 1993. The author disclaims all
# responsibility or liability with respect to it's usage or its effect
# upon hardware or computer systems, and maintains copyright as set out
# in the "LICENCE" document which accompanies distributions of Crack v4.0
# and upwards.
###

###
# set this to the absolute path (less extn) of compressed dict.

DICTPATH="/usr/local/lib/pw_dict"

###
# Set this to the path of one or more files continaing wordlists.

SRCDICTS=/usr/dict/words

###
# If you have installed the cracklib-dicts directory, use this
#SRCDICTS=/usr/dict/words cracklib-dicts/*

default:
	@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 $$? )
###	touch all

clean:
	-( cd cracklib && make clean && exit $$? )
	-( cd util && make clean && exit $$? )
###	-( cd passwd && make clean && exit $$? )
	-rm -f all installed Part* *.BAK *.bak *~

install: all
	@echo 'if "sort" dies from lack of space, see "util/mkdict"'
	util/mkdict $(SRCDICTS) | util/packer $(DICTPATH)
	touch installed
###	@echo 'now go install passwd/passwd where you want it'