File: makefile

package info (click to toggle)
ispell.pt 20210922-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 732 kB
  • sloc: makefile: 27
file content (14 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#-*- makefile -*- ----------------------------------------------------

ISPELLLIB=`ispell -vv | grep 'LIBDIR' | sed -e 's/.*"\(.*\)"/\1/'`

portugues.hash: portugues.dic portugues.aff
	buildhash portugues.dic portugues.aff portugues.hash

install : portugues.hash 
	cp portugues.hash $(ISPELLLIB)/
	cp portugues.aff $(ISPELLLIB)/portugues.aff
	-rm $(ISPELLLIB)/pt_PT.hash $(ISPELLLIB)/pt.hash $(ISPELLLIB)/port.hash
	ln -s $(ISPELLLIB)/portugues.hash $(ISPELLLIB)/pt_PT.hash
	ln -s $(ISPELLLIB)/portugues.hash $(ISPELLLIB)/pt.hash
	ln -s $(ISPELLLIB)/portugues.hash $(ISPELLLIB)/port.hash