File: Makefile

package info (click to toggle)
scribble 1.10-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,900 kB
  • ctags: 51
  • sloc: perl: 1,912; makefile: 55
file content (33 lines) | stat: -rw-r--r-- 931 bytes parent folder | download | duplicates (3)
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
###############################################################################
#
#  Scribble Makefile (all it does is install)
#
###############################################################################

prefix	= /usr/local

bindir	= $(prefix)/games
datadir	= $(prefix)/share
mandir	= $(datadir)/man
statedir= $(prefix)/scribble

varprefix=$(prefix)


install:
	mkdir -p $(bindir)
	mkdir -p $(datadir)/dict
	mkdir -p $(mandir)/man6
	install -m755 scribble $(bindir)
	$(bindir)/scribble --filter-words word-frequencies wordlists/* >$(datadir)/dict/scribble-english
	cat "wordlists/ZZ - Deleted Words.txt" >>$(datadir)/dict/scribble-english
	chmod 644 $(datadir)/dict/scribble-english
	-pod2man scribble >$(mandir)/man6/scribble.6
	-chmod 644 $(mandir)/man6/scribble.6

disabled:
	install -m2755 -ggames scribble $(bindir)
	mkdir -p $(statedir)
	touch $(statedir)/english
	chgrp games $(statedir)/*
	chmod  664  $(statedir)/*