5
0
mirror of git://git.proxmox.com/git/proxmox-i18n.git synced 2025-01-10 09:17:41 +03:00

Makefile: auto initialize submodules

This commit is contained in:
Dietmar Maurer 2017-10-03 15:11:39 +02:00
parent b0595f15c8
commit 42d82cd28a

View File

@ -14,11 +14,11 @@ PVELOCALEDIR=${DESTDIR}/usr/share/pve-i18n
PMG_LANG_FILES=$(patsubst %, pmg-lang-%.js, $(LINGUAS))
PVE_LANG_FILES=$(patsubst %, pve-lang-%.js, $(LINGUAS))
all:
all: | submodule
.PHONY: deb
deb: $(DEBS)
$(DEBS):
$(DEBS): | submodule
rm -rf dest
mkdir dest
rsync -a debian dest
@ -27,6 +27,10 @@ $(DEBS):
lintian ${PMG_I18N_DEB}
lintian ${PVE_I18N_DEB}
.PHONY: submodule
submodule:
test -f "proxmox-mailgateway-gui/Makefile" || git submodule update --init
.PHONY: install
install: ${PMG_LANG_FILES} ${PVE_LANG_FILES}
install -d ${PMGLOCALEDIR}