Imported Upstream version 3.51
[platform/upstream/iso-codes.git] / Makefile.am
index 4721238..460ca16 100644 (file)
@@ -13,22 +13,23 @@ DISTCLEANFILES = $(pkgconfig_DATA)
 
 
 .PHONY: release
-release: check distcheck
+release: update-po check distcheck
+
+.PHONY: update-po
+update-po:
+       for domain in $(SUBDIRS); do \
+               cd $$domain && make update-po && cd ..; \
+       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:/var/lib/gforge/chroot/ftproot/pub/pkg-isocodes; \
+               alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
        fi