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:
parent
b0595f15c8
commit
42d82cd28a
8
Makefile
8
Makefile
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user