File: Makefile.am

package info (click to toggle)
cracklib2 2.9.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,228 kB
  • sloc: sh: 11,850; ansic: 2,652; xml: 365; python: 288; makefile: 218; sed: 16
file content (45 lines) | stat: -rw-r--r-- 1,508 bytes parent folder | download | duplicates (5)
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
43
44
45
SUBDIRS = m4 lib util po doc python dicts

EXTRA_DIST = \
		cracklib.spec.in \
		README-DAWG \
		README-WORDS \
		README-LICENSE \
		test-data 

all-local:
	@echo
	@echo =======================================================
	@echo Be sure and obtain a large wordlist file and run
	@echo 'make install' and 'make dict' to generate the word 
	@echo list index file. See the README file for more details.
	@echo =======================================================
	@echo

test: all
	@echo
	@echo =======================================================
	@echo If you get an error when running 'make test' about a 
	@echo missing pw_dict.pwd file, that indicates that the word
	@echo list dictionary file has not been built. You need to
	@echo at least run 'make install' and 'make dict' to install
	@echo the dictionay.  See the README file for more details.
	@echo =======================================================
	@echo
	util/cracklib-check < test-data

dict: all
	if test "x$(CROSS_COMPILING)" = "xno" ; then \
		export PATH="$(top_builddir)/util:$$PATH" ; \
		export LD_LIBRARY_PATH="$(top_builddir)/lib/.libs:$$LD_LIBRARY_PATH" ; \
	fi ; \
	create-cracklib-dict "$(srcdir)"/dicts/*

dict-local: all
	if test "x$(CROSS_COMPILING)" = "xno" ; then \
		export PATH="$(top_builddir)/util:$$PATH" ; \
		export LD_LIBRARY_PATH="$(top_builddir)/lib/.libs:$$LD_LIBRARY_PATH" ; \
	fi ; \
	cracklib-format "$(srcdir)"/dicts/* | cracklib-packer $(DESTDIR)/$(DEFAULT_CRACKLIB_DICT)

ACLOCAL_AMFLAGS = -I m4