File: makefile

package info (click to toggle)
quelcom 0.4.0-16
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 1,544 kB
  • sloc: cpp: 4,148; makefile: 158; sh: 15
file content (18 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

FILES=ca es
MOFILES=$(addsuffix .mo,$(FILES))

all: $(MOFILES)

$(MOFILES): %.mo: %.po
	msgfmt -o $@ $<

install: all
	for i in $(FILES); \
	do \
	  mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES; \
	  cp $$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/$(PACKAGE).mo; \
	done

clean:
	rm -f *.mo