File: Makefile

package info (click to toggle)
hash-slinger 3.5-0.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 256 kB
  • sloc: python: 1,301; xml: 493; makefile: 30
file content (39 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (5)
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
#
# 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 ipseckey $(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 ipseckey.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

ipseckey.1: ipseckey.1.xml
	xmlto man ipseckey.1.xml

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

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