]> git.proxmox.com Git - proxmox-i18n.git/blobdiff - Makefile
es: Improve translations
[proxmox-i18n.git] / Makefile
index f937fb7bc185d27b6fa4c0b3add739e49c96b8cd..1d7af6ec0d66f886298fd8193fb24410ef498fbe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,11 @@ LINGUAS=\
        fr \
        gl \
        he \
+       hr \
        hu \
        it \
        ja \
+       ka \
        kr \
        nb \
        nl \
@@ -24,11 +26,13 @@ LINGUAS=\
        sl \
        sv \
        tr \
+       ukr \
        zh_CN \
        zh_TW \
 
 BUILDDIR ?= $(DEB_SOURCE)-$(DEB_VERSION)
 
+DSC=$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
 PVE_I18N_DEB=pve-i18n_$(DEB_VERSION)_all.deb
 PMG_I18N_DEB=pmg-i18n_$(DEB_VERSION)_all.deb
 PBS_I18N_DEB=pbs-i18n_$(DEB_VERSION)_all.deb
@@ -59,6 +63,15 @@ build-debs: $(BUILDDIR)
        lintian $(DEBS)
        touch "$@"
 
+sbuild: $(DSC)
+       sbuild $(DSC)
+
+.PHONY: dsc
+dsc: $(DSC)
+$(DSC): $(BUILDDIR)
+       cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
+       lintian $(DSC)
+
 submodule:
        test  -f pmg-gui/Makefile -a -f proxmox-backup/Makefile -a -f pve-manager/Makefile \
            || git submodule update --init
@@ -118,7 +131,7 @@ distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf $(DEB_SOURCE)-[0-9]*/ *.po.tmp *.js.tmp *.deb *.buildinfo *.changes *.js messages.pot
+       rm -rf $(DEB_SOURCE)-[0-9]*/ *.po.tmp *.js.tmp *.deb *.dsc *.tar.* *.build *.buildinfo *.changes *.js messages.pot
 
 .PHONY: upload-pve upload-pmg upload-pbs upload
 upload-%: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)