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

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