File: Makefile

package info (click to toggle)
dwarfs-debian-guide 2.2.98-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,148 kB
  • ctags: 101
  • sloc: makefile: 68; perl: 48; sh: 6
file content (34 lines) | stat: -rw-r--r-- 701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Make file for "Dwarf's Guide to Debian GNU/Linux".
#
# Copyright 2001 Dale Scheetz
# released under the GNU Free Documentation License
#
NAME=dwarfs-debian-guide
VER=2.2.98

book: compose ps pdf

compose:
	latex ${NAME}
	latex ${NAME}
	latex ${NAME}
	makeindex ${NAME}.idx
	latex ${NAME}
	latex ${NAME}

ps: compose
	cd images; ./ps-make
	dvips -T 7in,8.5in -D 600 -o ${NAME}_${VER}.ps ${NAME}

pdf: compose
	pdflatex ${NAME}
	mv ${NAME}.pdf ${NAME}_${VER}.pdf

clean:
	rm -f ${NAME}_${VER}.ps ${NAME}_${VER}.pdf ${NAME}.dvi ${NAME}.aux 
	rm -f ${NAME}.ind ${NAME}.log ${NAME}.toc ${NAME}.ilg ${NAME}.idx 
	rm -f images/*.ps

source: clean
	cd ../ ; tar -czvf ${NAME}_${VER}.tar.gz ${NAME}-${VER}/