can change package name
This commit is contained in:
5
Makefile
5
Makefile
@ -1,6 +1,9 @@
|
||||
#!/usr/bin/make
|
||||
|
||||
PACKAGE := tiramisu
|
||||
ifeq ($(PACKAGE_DST),)
|
||||
PACKAGE_DST := $(PACKAGE)
|
||||
endif
|
||||
|
||||
INSTALL := install
|
||||
INSTALL_DATA := install -m 644
|
||||
@ -43,7 +46,7 @@ define install_translation
|
||||
for file in `find ${1} -name "*.mo"`; do \
|
||||
$(INSTALL_DIR) $(TRADUC_DEST)/`echo $$file | cut -d '/' -f 2` || true; \
|
||||
$(INSTALL_DIR) $(TRADUC_DEST)/`echo $$file | cut -d '/' -f 2`/LC_MESSAGES || true; \
|
||||
$(INSTALL_DATA) $$file $(TRADUC_DEST)/`echo $$file | cut -d '/' -f 2`/LC_MESSAGES || true; \
|
||||
$(INSTALL_DATA) $$file $(TRADUC_DEST)/`echo $$file | cut -d '/' -f 2`/LC_MESSAGES/$(PACKAGE_DST).mo || true; \
|
||||
done; \
|
||||
fi
|
||||
endef
|
||||
|
Reference in New Issue
Block a user