File: Makefile

package info (click to toggle)
fortunes-it 2.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,940 kB
  • sloc: makefile: 80; sh: 9
file content (53 lines) | stat: -rw-r--r-- 780 bytes parent folder | download
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
46
47
48
49
50
51
52
53
FILES=\
    adams \
    brianza \
    computer \
    definizioni \
    formiche \
    italia \
    itatrek \
    leggi \
    lercio \
    luke \
    luttazzi \
    norm \
    paolotedeschi \
    salvo \
    siciliano \
    zuse \
    computer-o \
    definizioni-o \
    italia-o \
    leggi-o \
    luke-o \
    luttazzi-o \
    norm-o \
    paolotedeschi-o \
    salvo-o \
    siciliano-o \
    religione-o \
    zuse-o

.PHONY: clean install all

all: $(addprefix build/,$(FILES))

clean:
	$(RM) -r build

build:
	mkdir -p build

build/%: build
	cp $* $@
#	recode latin1..u8 $@
	strfile $@
	ln -s $* $@.u8

install:
	install -d $${DESTDIR:-/}/usr/share/games/fortunes/
	cp -a build/* $${DESTDIR:-/}/usr/share/games/fortunes/

.PHONY: listfortunes
listfortunes:
	@echo $(FILES)