From afcef00afe30374790ff8b2494ed46e7ffa3b19e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 24 Jan 2021 14:38:25 +0000 Subject: prepare next release --- Makefile | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 958d056..ad5131e 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ clean: test -d ./bin && rm -Rf ./bin || exit 0 test -d ./debian/photoalbum && rm -Rf ./debian/photoalbum || exit 0 version: - cut -d' ' -f2 debian/changelog | head -n 1 | sed 's/(//;s/)//' > .version + cut -d' ' -f2 changelog | head -n 1 | sed 's/(//;s/)//' > .version # Builds the documentation into a manpage documentation: pod2man --release="$(NAME) $$(cat .version)" \ @@ -27,21 +27,11 @@ documentation: pod2text ./docs/$(NAME).pod > ./docs/$(NAME).txt # For github page cp ./docs/$(NAME).pod README.pod -deb: all - dpkg-buildpackage -dch: - dch -i -dput: - dput -u wheezy-buetowdotorg ../$(NAME)_$$(cat ./.version)_amd64.changes - dput -u jessie-buetowdotorg ../$(NAME)_$$(cat ./.version)_amd64.changes -release: all dch deb dput +release: all bash -c "git tag $$(cat .version)" git push --tags git commit -a -m 'New release' git push origin master clean-top: rm ../$(NAME)_*.tar.gz - rm ../$(NAME)_*.dsc rm ../$(NAME)_*.changes - rm ../$(NAME)_*.deb - -- cgit v1.2.3