xwords/xwords4/android/scripts/copy-strings.mk
2020-01-13 12:15:55 -08:00

17 lines
368 B
Makefile

# -*- mode: Makefile -*-
SRCS = $(wildcard ./res_src/values-*/strings.xml)
TARGETS = $(SRCS:./res_src/value%/strings.xml=app/src/main/res/value%/strings.xml)
.PHONY: all clean
RES_SRC = ./res_src
RES_DEST = ./app/src/main/res
all: $(TARGETS)
$(RES_DEST)/value%/strings.xml: $(RES_SRC)/value%/strings.xml
./scripts/copy-strings.py -f $<
clean:
rm -f $(TARGETS)