File: Makefile

package info (click to toggle)
psi-translations 1.12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 12,724 kB
  • sloc: makefile: 21
file content (18 lines) | stat: -rw-r--r-- 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#/usr/bin/make -f

PSI_PRO_FILE = psi.pro

all: psi.pro
	lrelease $(PSI_PRO_FILE)

psi.pro:
	(TRANSLATIONS=""; \
	    for i in $$(find . -name '*.ts' -type f); do TRANSLATIONS="$${TRANSLATIONS} $$i"; done ; \
	    echo "TRANSLATIONS = $${TRANSLATIONS}" > $(PSI_PRO_FILE); \
	)

clean:
	-rm -f */*.qm
	-rm -f $(PSI_PRO_FILE)

.PHONY: all clean