blob: adff8b80e87c53a16961eb6ace39d2c616a7c00f [file] [log] [blame]
# 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