Imported Upstream version 3.51
[platform/upstream/iso-codes.git] / Makefile.am
index 1bd5ac8..460ca16 100644 (file)
@@ -22,19 +22,14 @@ update-po:
        done
 
 .PHONY: sign-release
-sign-release: iso-codes-$(VERSION).tar.bz2
-       rm -f iso-codes-$(VERSION).tar.bz2.sig
-       gpg --detach-sign iso-codes-$(VERSION).tar.bz2
+sign-release: iso-codes-$(VERSION).tar.xz
+       rm -f iso-codes-$(VERSION).tar.xz.sig
+       gpg --detach-sign iso-codes-$(VERSION).tar.xz
 
 .PHONY: upload
 upload:
-       @if [[ "$(ALIOTH_USERNAME)" == "" ]]; then \
-               echo "Please set your Alioth username. Example command line:"; \
-               echo "  ALIOTH_USERNAME=toddy make upload"; \
-       fi
-       @if [[ -f "iso-codes-$(VERSION).tar.bz2" ]] \
-       && [[ -f "iso-codes-$(VERSION).tar.bz2.sig" ]] \
-       && [[ -n "$(ALIOTH_USERNAME)" ]]; then \
+       @if [[ -f "iso-codes-$(VERSION).tar.xz" ]] \
+       && [[ -f "iso-codes-$(VERSION).tar.xz.sig" ]]; then \
                scp iso-codes-$(VERSION).tar.* \
-               $(ALIOTH_USERNAME)@alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
+               alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
        fi