summaryrefslogtreecommitdiffstats
path: root/build
blob: 4a2b93af9b24e7579caa2dd1b520cbd9e53e3987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include ../source.mk

build:
	../certdata2pem.sh src/certdata.txt SERVER_AUTH \
		src/certdata-server-auth.pem
	touch $@

install: build
	install -D -m 0644 src/certdata-server-auth.pem \
		nss-certdata-server-auth.data$$(: \
			)/usr/share/x509/server-auth/nss-certdata.pem
	mkdir -p nss-certdata-server-auth.data/etc/x509/server-auth/
	ln -sf /usr/share/x509/server-auth/nss-certdata.pem \
		nss-certdata-server-auth.data/etc/x509/server-auth/