File: Makefile

package info (click to toggle)
apsfilter 7.2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,356 kB
  • sloc: sh: 452; ansic: 236; perl: 175; makefile: 124
file content (38 lines) | stat: -rw-r--r-- 843 bytes parent folder | download | duplicates (9)
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
# $ApsCVS: src/apsfilter/doc/Makefile,v 1.1.2.7 2002/02/24 20:47:49 andreas Exp $
#
# Makefile for apsfilter documentation
#

RM=rm -f

HTMLDOC_OPTS=--book --size a4 --color --no-title --no-toc --footer c.1

HTML_DUMP_CMD=w3m -dump


OBJS=handbook.pdf handbook.ps handbook.txt


.PHONY: all clean html pdf ps txt

all: $(OBJS)


html handbook.html: 
	@echo You need to run \"configure\" in the parent directory first.
	@exit 1

pdf handbook.pdf: handbook.html
	@echo creating PDF edition...
	htmldoc -t pdf $(HTMLDOC_OPTS) -f handbook.pdf handbook.html

ps handbook.ps: handbook.html
	@echo creating PostScript edition...
	htmldoc -t ps $(HTMLDOC_OPTS) -f handbook.ps handbook.html

txt handbook.txt: handbook.html
	@echo creating plain text edition...
	$(HTML_DUMP_CMD) handbook.html | sed 's/ *$$//' > handbook.txt

clean:
	$(RM) $(OBJS) *~