-
Notifications
You must be signed in to change notification settings - Fork 74
/
Makefile.am
38 lines (30 loc) · 951 Bytes
/
Makefile.am
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
# Our Debian version
DEBIAN_VERSION := $(shell if [ -e debian/changelog ]; then cat debian/changelog|head -n1|cut -d\- -f2| head -c 1; else echo "unknown"; fi)
AUTOMAKE_OPTIONS = foreign 1.7
EXTRA_DIST = \
AUTHORS \
README \
LICENSE \
TODO \
apparmor-profile \
CHANGELOG \
autogen.sh
SUBDIRS = src
# Our documentation
man_MANS = man/tlsdate.1 man/tlsdate-helper.1
EXTRA_DIST += $(man_MANS)
.PHONY: debian_orig git-tag git-push git-tag-debian deb really-clean
debian_orig:
$(MAKE) dist
mv tlsdate-$(VERSION).tar.gz ../tlsdate_$(VERSION).orig.tar.gz
git-tag:
git tag -u 0xD81D840E -s tlsdate-$(VERSION)
git-tag-debian:
git tag -u 0xD81D840E -s tlsdate-$(VERSION)-debian-${DEBIAN_VERSION}
git-push:
git push --tags
git push
deb: debian_orig
debuild -rfakeroot -uc -us -d
valgrind_test:
PATH=src/:$(PATH) libtool --mode=execute valgrind --trace-children=yes --leak-check=full ./src/tlsdate -v -V -n -H encrypted.google.com