/[svn]/qsampler/trunk/Makefile.in
ViewVC logotype

Diff of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1698 by schoenebeck, Sat Feb 16 19:41:05 2008 UTC revision 1873 by capela, Wed Mar 25 15:16:37 2009 UTC
# Line 1  Line 1 
1  prefix  = @ac_prefix@  prefix  = @ac_prefix@
2  qmake   = @ac_qmake@  qmake   = @ac_qmake@
3    lupdate = @ac_lupdate@
4    lrelease = @ac_lrelease@
5    
6  name    = qsampler  name    = qsampler
7    
# Line 54  forms = \ Line 56  forms = \
56          src/qsamplerOptionsForm.ui \          src/qsamplerOptionsForm.ui \
57          src/qsamplerMainForm.ui          src/qsamplerMainForm.ui
58    
59  all:    $(name)  translations_sources = \
60            translations/qsampler_ru.ts
61    
62    translations_targets = \
63            translations/qsampler_ru.qm
64    
65    all:    $(name) $(translations_targets)
66    
67  $(name).mak:    $(name).pro  $(name).mak:    $(name).pro
68          @$(qmake) -o $(name).mak $(name).pro          @$(qmake) -o $(name).mak $(name).pro
# Line 62  $(name).mak:   $(name).pro Line 70  $(name).mak:   $(name).pro
70  $(name):        $(name).mak $(sources) $(headers) $(forms)  $(name):        $(name).mak $(sources) $(headers) $(forms)
71          @make -f $(name).mak          @make -f $(name).mak
72    
73    %.ts:   $(name).pro $(sources) $(headers) $(forms)
74            @$(lupdate) -verbose $(name).pro
75    
76    %.qm:   %.ts
77            @$(lrelease) -verbose $< -qm $@
78    
79  # NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!!  # NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!!
80  #       It is mandatory for Debian packaging.  #       It is mandatory for Debian packaging.
# Line 70  install:       $(name) icons/$(name).png Line 83  install:       $(name) icons/$(name).png
83          @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin          @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin
84          @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps          @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps
85          @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications          @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications
86            @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/locale
87          @install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name)          @install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name)
88          @install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png          @install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
89          @install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop          @install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop
90            @install -v -m 0644 $(translations_targets) $(DESTDIR)$(prefix)/share/locale
91    
92  uninstall:      $(DESTDIR)$(prefix)/bin/$(name)  uninstall:      $(DESTDIR)$(prefix)/bin/$(name)
93          @rm -vf $(DESTDIR)$(prefix)/bin/$(name)          @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
94          @rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png          @rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
95          @rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop          @rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop
96            @rm -vf $(DESTDIR)$(prefix)/share/locale/$(translations_targets)
97            @for x in $(translations_targets); do \
98                    rm -vf $(DESTDIR)$(prefix)/share/locale/`basename $$x`; done
99    
100  clean:  $(name).mak  clean:  $(name).mak
101          @make -f $(name).mak clean          @make -f $(name).mak clean
102          @rm -f $(name) $(name).mak          @rm -f $(name) $(name).mak
103          @rm -rf *.cache *.log *.status          @rm -rf *.cache *.log *.status $(translations_targets)

Legend:
Removed from v.1698  
changed lines
  Added in v.1873

  ViewVC Help
Powered by ViewVC