fr \
gl \
he \
+ hr \
hu \
it \
ja \
- kr \
+ ka \
+ ko \
nb \
nl \
nn \
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
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
install -m 0644 $(PVE_LANG_FILES) $(PVELOCALEDIR)
install -d $(PBSLOCALEDIR)
install -m 0644 $(PBS_LANG_FILES) $(PBSLOCALEDIR)
+# compat symlinks for kr -> ko correction.
+ ln -s pmg-lang-ko.js $(PMGLOCALEDIR)/pmg-lang-kr.js
+ ln -s pve-lang-ko.js $(PVELOCALEDIR)/pve-lang-kr.js
+ ln -s pbs-lang-ko.js $(PBSLOCALEDIR)/pbs-lang-kr.js
pmg-lang-%.js: %.po
./po2js.pl -t pmg -v "$(DEB_VERSION)" -o pmg-lang-$*.js $?
.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)