File: Makefile

package info (click to toggle)
backup-manager 0.7.7-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,284 kB
  • ctags: 202
  • sloc: sh: 3,711; perl: 978; makefile: 220
file content (28 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (8)
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

BASE	= user-guide
SOURCE	= $(BASE).sgml
DEST    = $(DESTDIR)/usr/share/backup-manager/doc

all: pdf txt html
install: all
	install -d $(DEST)
	install -m 0644 $(BASE).pdf $(DEST)
	install -d $(DEST)/$(BASE).html
	cp $(BASE).html/*html $(DEST)/$(BASE).html
	install -m 0644 $(BASE).txt $(DEST)

pdf: user-guide.pdf
user-guide.pdf:
	debiandoc2pdf $(SOURCE)

txt: user-guide.txt
user-guide.txt:
	debiandoc2text $(SOURCE)

html: user-guide.html
user-guide.html:
	debiandoc2html $(SOURCE)

clean:
	rm -f *.pdf *.txt *.tpt
	rm -rf $(BASE).html