source: trunk/third/ispell/Makefile.athena @ 11089

Revision 11089, 2.2 KB checked in by ghudson, 27 years ago (diff)
We need an english.hash link too.
Line 
1# $Id: Makefile.athena,v 1.2 1998-01-31 03:56:57 ghudson Exp $
2
3SHELL=/bin/sh
4IMAN=buildhash.1 findaffix.1 munchlist.1 tryaffix.1
5SMAN=unsq.1
6ATHBINDIR=/usr/athena/bin
7ATHSHAREDIR=/usr/athena/share
8ATHMANDIR=/usr/athena/man
9ATHINFODIR=/usr/athena/info
10
11prepare:
12        rm -f local.h
13        sed -e "s,@COMPILER@,$$COMPILER," "local.h.$$HOSTTYPE" > local.h
14
15clean:
16        ${MAKE} clean
17        rm -f ${IMAN} ${SMAN}
18
19all: ${IMAN} ${SMAN}
20        ${MAKE} all
21
22${IMAN}:
23        rm -f $@
24        echo ".so man1/ispell.1" > $@
25
26${SMAN}:
27        rm -f $@
28        echo ".so man1/sq.1" > $@
29
30check:
31
32# The Makefile install rule is horribly complicated, and supporting
33# DESTDIR there is probably more of a maintenance hassle than doing it
34# directly here.
35install:
36        -mkdir -p "$$SRVD${ATHBINDIR}"
37        -mkdir -p "$$SRVD${ATHSHAREDIR}"
38        -mkdir -p "$$SRVD${ATHMANDIR}/man1"
39        -mkdir -p "$$SRVD${ATHMANDIR}/man4"
40        -mkdir -p "$$SRVD${ATHINFODIR}"
41        install -c -m 555 buildhash "$$SRVD${ATHBINDIR}"
42        install -c -m 555 findaffix "$$SRVD${ATHBINDIR}"
43        install -c -m 555 icombine "$$SRVD${ATHBINDIR}"
44        install -c -m 555 ijoin "$$SRVD${ATHBINDIR}"
45        install -c -m 555 ispell "$$SRVD${ATHBINDIR}"
46        install -c -m 555 munchlist "$$SRVD${ATHBINDIR}"
47        install -c -m 555 sq "$$SRVD${ATHBINDIR}"
48        install -c -m 555 tryaffix "$$SRVD${ATHBINDIR}"
49        install -c -m 555 unsq "$$SRVD${ATHBINDIR}"
50        install -c -m 444 languages/english/english.aff "$$SRVD${ATHSHAREDIR}"
51        install -c -m 444 languages/american/americanmed+.hash \
52                "$$SRVD${ATHSHAREDIR}"
53        rm -f "$$SRVD${ATHSHAREDIR}/american.hash"
54        cd "$$SRVD${ATHSHAREDIR}" && ln americanmed+.hash american.hash
55        rm -f "$$SRVD${ATHSHAREDIR}/english.hash"
56        cd "$$SRVD${ATHSHAREDIR}" && ln americanmed+.hash english.hash
57        install -c -m 444 buildhash.1 "$$SRVD${ATHMANDIR}/man1"
58        install -c -m 444 findaffix.1 "$$SRVD${ATHMANDIR}/man1"
59        install -c -m 444 ispell.1 "$$SRVD${ATHMANDIR}/man1"
60        install -c -m 444 munchlist.1 "$$SRVD${ATHMANDIR}/man1"
61        install -c -m 444 sq.1 "$$SRVD${ATHMANDIR}/man1"
62        install -c -m 444 tryaffix.1 "$$SRVD${ATHMANDIR}/man1"
63        install -c -m 444 unsq.1 "$$SRVD${ATHMANDIR}/man1"
64        install -c -m 444 ispell.4 "$$SRVD${ATHMANDIR}/man4"
65        install -c -m 444 languages/english/english.4l \
66                "$$SRVD${ATHMANDIR}/man4"
67        install -c -m 444 ispell.info "$$SRVD${ATHINFODIR}/ispell"
Note: See TracBrowser for help on using the repository browser.