1 --- qjackctl-svn/Makefile 2010-07-03 12:52:45.322625701 +0200
2 +++ build/Makefile 2010-07-03 12:52:05.109296487 +0200
7 -translations_sources = \
8 - src/translations/qjackctl_cs.ts \
9 - src/translations/qjackctl_de.ts \
10 - src/translations/qjackctl_es.ts \
11 - src/translations/qjackctl_fr.ts \
12 - src/translations/qjackctl_it.ts \
13 - src/translations/qjackctl_ru.ts
15 -translations_targets = \
16 - src/translations/qjackctl_cs.qm \
17 - src/translations/qjackctl_de.qm \
18 - src/translations/qjackctl_es.qm \
19 - src/translations/qjackctl_fr.qm \
20 - src/translations/qjackctl_it.qm \
21 - src/translations/qjackctl_ru.qm
24 -all: $(target) $(translations_targets)
29 $(target): $(name).mak $(resources) ${forms} $(sources) $(headers)
31 @$(qmake) -o $(name).mak $(name).pro
34 -%.ts: $(name).pro $(resources) ${forms} $(sources) $(headers)
35 - @$(lupdate) -verbose $(name).pro
38 - @$(lrelease) -verbose $< -qm $@
41 -install: $(target) $(translations_targets) $(name).1
42 +install: $(target) $(name).1
43 @make INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
44 - @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/locale
45 @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/man/man1
46 - @install -v -m 0644 $(translations_targets) $(DESTDIR)$(prefix)/share/locale
47 @install -v -m 0644 $(name).1 $(DESTDIR)$(prefix)/share/man/man1/$(name).1
49 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
50 @make INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
51 - @rm -vf $(DESTDIR)$(prefix)/share/locale/$(translations_targets)
52 - @for x in $(translations_targets); do \
53 - rm -vf $(DESTDIR)$(prefix)/share/locale/`basename $$x`; done
55 @rm -vf $(DESTDIR)$(prefix)/share/man/man1/$(name).1
59 @make -f $(name).mak clean
60 @rm -f $(target) $(target).mak $(name).mak
61 - @rm -rf *.cache *.log *.status $(translations_targets)
62 + @rm -rf *.cache *.log *.status