File: Makefile

package info (click to toggle)
hash-slinger 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 192 kB
  • ctags: 133
  • sloc: python: 980; xml: 369; makefile: 27
file content (35 lines) | stat: -rw-r--r-- 619 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
35
#
# A basic Makefile
#

BIN     = $(DESTDIR)/usr/bin
MAN     = $(DESTDIR)/usr/share/man/man1

all: man
	
install:
	install -m 0755 -d $(BIN)
	install -m 0755 sshfp $(BIN)
	install -m 0755 tlsa $(BIN)
	install -m 0755 openpgpkey $(BIN)
	install -m 0755 -d $(MAN)
	install -m 0644 *.1 $(MAN)
	gzip $(MAN)/*.1

man:	man-page
man-page: sshfp.1 tlsa.1 openpgpkey.1

sshfp.1: sshfp.1.xml
	xmlto man sshfp.1.xml

tlsa.1: tlsa.1.xml
	xmlto man tlsa.1.xml

openpgpkey.1: openpgpkey.1.xml
	xmlto man openpgpkey.1.xml

clean:
	-rm -f sshfp.1 tsla.1 openpgpkey.1

dist-clean:
	@echo Nothing to dist-clean - This is a python script