summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-01-24 14:38:25 +0000
committerPaul Buetow <paul@buetow.org>2021-01-24 14:38:25 +0000
commitafcef00afe30374790ff8b2494ed46e7ffa3b19e (patch)
tree00586b45186841f5d286399340a791a9a9745824 /Makefile
parent7d074646f4f6ddfc7bffaca4c83a7574c35b8cf9 (diff)
prepare next release0.4.5
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 2 insertions, 12 deletions
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
-