diff --git a/Makefile.am b/Makefile.am
index 48f93ae932fb69393bdb832fb399c9cad710c275..7986d0d54aa16e0a41a3d35b27bc663a36005b47 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,3 +41,10 @@ install-data-hook:
 		echo "***   $(gtk_update_icon_cache)";					\
 		echo "***";												\
 	fi
+
+sign:
+	if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
+		gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
+	if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
+		gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
+