updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / qjackctl-svn / patch
blob41ef2f55ab9d0046c87c1960fa4ef489924d5b54
1 --- qjackctl-svn/Makefile       2010-07-03 12:52:45.322625701 +0200
2 +++ build/Makefile      2010-07-03 12:52:05.109296487 +0200
3 @@ -68,24 +68,10 @@
4         src/qjackctl.qrc
5  
6   
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)
26 +all:   $(target) 
29  $(target):     $(name).mak $(resources) ${forms} $(sources) $(headers)
30 @@ -95,30 +81,22 @@
31         @$(qmake) -o $(name).mak $(name).pro
34 -%.ts:  $(name).pro $(resources) ${forms} $(sources) $(headers)
35 -       @$(lupdate) -verbose $(name).pro
37 -%.qm:  %.ts
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
54 +       
55         @rm -vf $(DESTDIR)$(prefix)/share/man/man1/$(name).1
58  clean: $(name).mak
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