File: makefile

package info (click to toggle)
quelcom 0.4.0-12
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 1,068 kB
  • ctags: 542
  • sloc: cpp: 3,899; makefile: 193; 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