source: trunk/third/tetex/Makefile.athena @ 19865

Revision 19865, 2.7 KB checked in by ghudson, 21 years ago (diff)
Tweak install location for listings.sty and order of install commands.
Line 
1# $Id: Makefile.athena,v 1.12 2003-10-03 21:29:49 ghudson Exp $
2
3ATHBINDIR=/usr/athena/bin
4TEXMFDIR=/usr/athena/share/texmf
5TEXCONFIG=$$SRVD/usr/athena/bin/texconfig
6
7dist:
8        cp "$$CONFIG_SITE" config.site.athena
9
10prepare:
11        rm -f src/config.cache
12        cd src && CONFIG_SITE=`pwd`/../config.site.athena \
13                ./configure --without-odvipsk --without-oxdvik \
14                --disable-multiplatform --without-texinfo
15
16clean:
17        cd src && ${MAKE} clean
18
19all:
20        cd src && ${MAKE} all
21
22check:
23
24install:
25        cd texmf && ${MAKE} install DESTDIR="$$SRVD"
26        mkdir -p $$SRVD${TEXMFDIR}/doc/fonts/marvosym
27        mkdir -p $$SRVD${TEXMFDIR}/doc/help/Catalogue
28        mkdir -p $$SRVD${TEXMFDIR}/dvips/base
29        mkdir -p $$SRVD${TEXMFDIR}/dvips/config
30        mkdir -p $$SRVD${TEXMFDIR}/dvips/misc
31        mkdir -p $$SRVD${TEXMFDIR}/tex/latex/listings
32        install -c -m 644 bottomtray.pro $$SRVD${TEXMFDIR}/dvips/misc
33        install -c -m 644 duplex.pro $$SRVD${TEXMFDIR}/dvips/misc
34        install -c -m 644 tumble.pro $$SRVD${TEXMFDIR}/dvips/misc
35        install -c -m 644 listings.sty $$SRVD${TEXMFDIR}/tex/latex/listings
36        rm -f $$SRVD${TEXMFDIR}/dvips/misc/bottomtray
37        ln -s bottomtray.pro $$SRVD${TEXMFDIR}/dvips/misc/bottomtray
38        rm -f $$SRVD${TEXMFDIR}/dvips/misc/duplex
39        ln -s duplex.pro $$SRVD${TEXMFDIR}/dvips/misc/duplex
40        rm -f $$SRVD${TEXMFDIR}/dvips/misc/tumble
41        ln -s tumble.pro $$SRVD${TEXMFDIR}/dvips/misc/tumble
42        rm -f $$SRVD${TEXMFDIR}/doc/index.html
43        ln -s newhelpindex.html $$SRVD${TEXMFDIR}/doc/index.html
44        rm -f $$SRVD${TEXMFDIR}/doc/fonts/marvosym/astro.README
45        ln -s README.1st $$SRVD${TEXMFDIR}/doc/fonts/marvosym/astro.README
46        rm -f $$SRVD${TEXMFDIR}/doc/fonts/marvosym/euro.README
47        ln -s README.1st $$SRVD${TEXMFDIR}/doc/fonts/marvosym/euro.README
48        rm -f $$SRVD${TEXMFDIR}/doc/fonts/marvosym/zodiac.README
49        ln -s README.1st $$SRVD${TEXMFDIR}/doc/fonts/marvosym/zodiac.README
50        rm -f $$SRVD${TEXMFDIR}/doc/help/Catalogue/index.html
51        ln -s catalogue.html $$SRVD${TEXMFDIR}/doc/help/Catalogue/index.html
52        rm -f $$SRVD${TEXMFDIR}/dvips/base/psfonts.map
53        ln -s ../config/psfonts_t1.map $$SRVD${TEXMFDIR}/dvips/base/psfonts.map
54        rm -f $$SRVD${TEXMFDIR}/dvips/config/dvipdfm.map
55        ln -s dvipdfm_ndl14.map $$SRVD${TEXMFDIR}/dvips/config/dvipdfm.map
56        rm -f $$SRVD${TEXMFDIR}/dvips/config/pdftex.map
57        ln -s pdftex_ndl14.map $$SRVD${TEXMFDIR}/dvips/config/pdftex.map
58        rm -f $$SRVD${TEXMFDIR}/dvips/config/psfonts.map
59        ln -s psfonts_t1.map $$SRVD${TEXMFDIR}/dvips/config/psfonts.map
60        cd src && ${MAKE} install DESTDIR="$$SRVD"
61        PATH=$$SRVD${ATHBINDIR}:$$PATH TEXMFMAIN=$$SRVD${TEXMFDIR} \
62                ${TEXCONFIG} dvips paper letter
63        PATH=$$SRVD${ATHBINDIR}:$$PATH TEXMFMAIN=$$SRVD${TEXMFDIR} \
64                ${TEXCONFIG} xdvi us
65        PATH=$$SRVD${ATHBINDIR}:$$PATH TEXMFMAIN=$$SRVD${TEXMFDIR} \
66                $$SRVD/usr/athena/bin/allcm
67        PATH=$$SRVD${ATHBINDIR}:$$PATH TEXMFMAIN=$$SRVD${TEXMFDIR} \
68                $$SRVD/usr/athena/bin/allec
Note: See TracBrowser for help on using the repository browser.