File: Makefile

package info (click to toggle)
backup-manager 0.7.14-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,520 kB
  • sloc: sh: 4,041; perl: 1,183; makefile: 213
file content (28 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (6)
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/doc/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