File: Makefile

package info (click to toggle)
hkgerman 2-13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,332 kB
  • ctags: 6
  • sloc: makefile: 102; sh: 78; sed: 15
file content (18 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
WORTE =	worte.txt verben.txt adjektive.txt klein.txt \
	geographie.txt vornamen.txt abkuerz.txt imperat.txt latein.txt \
	informatik.txt infoabk.txt

deutsch.hash: all.words deutsch.aff
	buildhash all.words deutsch.aff $@
 
all.words: $(WORTE)
	sort -u $+ > $@

clean:
	rm -f all.words all.words.cnt all.words.stat deutsch.hash hk*deutsch.tar.gz

sort:
	for i in *.txt;do sort -u -o $$i $$i;done

dist:	clean sort
	tar cvf - * | gzip -9 > hk2-deutsch.tar.gz