aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-02-22 18:11:12 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-02-22 18:11:12 +0100
commit07404ae7bb28b81e3cb8aee9c36f390b95bcd1f8 (patch)
tree7201623553f73d0f5b2f994738a7247a267ff24b
parent3d4881d8dc4577b5b976720eab37095fb2090193 (diff)
downloadfbida-07404ae7bb28b81e3cb8aee9c36f390b95bcd1f8.tar.gz
makefile updates
-rw-r--r--GNUmakefile6
-rw-r--r--mk/Maintainer.mk9
2 files changed, 9 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c96e635..2efae6c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -231,6 +231,6 @@ include $(srcdir)/mk/Compile.mk
include $(srcdir)/mk/Maintainer.mk
-sync::
- cp $(srcdir)/../xawtv/common/parseconfig.[ch] $(srcdir)
- cp $(srcdir)/../xawtv/console/fbtools.[ch] $(srcdir)
+#sync::
+# cp $(srcdir)/../xawtv/common/parseconfig.[ch] $(srcdir)
+# cp $(srcdir)/../xawtv/console/fbtools.[ch] $(srcdir)
diff --git a/mk/Maintainer.mk b/mk/Maintainer.mk
index fedc5cc..1e237d3 100644
--- a/mk/Maintainer.mk
+++ b/mk/Maintainer.mk
@@ -17,11 +17,14 @@ release-dir ?= $(HOME)/projects/Releases
release-pub ?= bigendian.kraxel.org:/public/vhosts/www.kraxel.org/releases/$(repository)
tarball = $(release-dir)/$(repository)-$(VERSION).tar
-.PHONY: release
-release:
+$(tarball).gz:
git tag -m "release $(VERSION)" "$(VERSION)"
git push --tags
git archive --format=tar --prefix=$(repository)-$(VERSION)/ \
-o $(tarball) $(VERSION)
gzip $(tarball)
- scp $(tarball).gz $(release-pub)
+
+.PHONY: release
+release: $(tarball).gz
+ gpg --detach-sign --armor $(tarball).gz
+ scp $(tarball).gz* $(release-pub)