File: Makefile

package info (click to toggle)
wfrench 1.2.3-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,560 kB
  • ctags: 2
  • sloc: makefile: 47
file content (21 lines) | stat: -rw-r--r-- 493 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
LANG = french

# Edited for Debian GNU/Linux
DESTDIR = 

all: $(LANG)

diacrit7to8: diacrit7to8.l
	flex -8 -f diacrit7to8.l
	gcc -O2 -fomit-frame-pointer lex.yy.c -lfl -o diacrit7to8
	@/bin/rm lex.yy.c

french: dico diacrit7to8
	cat dico | ./diacrit7to8 | iconv -f ISO-8859-1 -t UTF-8 > $@

install: all
	install -o root -g root -m 644 $(LANG) $(DESTDIR)/usr/share/dict
	install -o root -g root -m 644 words.5 $(DESTDIR)/usr/share/man/man5/$(LANG).5

clean:
	rm -f $(LANG) *~ ./#* diacrit7to8