File: Makefile

package info (click to toggle)
binkd 1.1a-99-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,452 kB
  • sloc: ansic: 22,949; makefile: 943; perl: 369; sh: 325
file content (39 lines) | stat: -rw-r--r-- 963 bytes parent folder | download | duplicates (4)
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
35
36
37
38
39
# makefile to build documentation

MAKEHTML    = makeinfo --html --no-split
MAKEHTMLDIR = makeinfo --html
MAKEPDF     = texi2dvi --pdf
MAKEINFO    = makeinfo --no-split
MAKETEXT    = makeinfo --no-headers
MAKEXML     = makeinfo --xml --no-split

default:
	@echo Run make html  to make plain html
	@echo Run make html-dir  to make each chapter in separated html file
	@echo Run make text  to make plain text
	@echo Run make pfd   to make PDF files, requires texi2dvi and pfdtex programs
	@echo Run make info  to make info files

html:
	$(MAKEHTML) howto-ru.texi
	$(MAKEHTML) howto-en.texi

html-dir:
	$(MAKEHTMLDIR) howto-ru.texi -o binkd-howto-ru
	$(MAKEHTMLDIR) howto-en.texi -o binkd-howto-en

pdf:
	$(MAKEPDF) howto-ru.texi
	$(MAKEPDF) howto-en.texi

info:
	$(MAKEINFO) howto-ru.texi
	$(MAKEINFO) howto-en.texi

text:
	$(MAKETEXT) howto-ru.texi > howto-ru.txt
	$(MAKETEXT) howto-en.texi > howto-en.txt

xml:
	$(MAKEXML) howto-ru.texi
	$(MAKEXML) howto-en.texi