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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1873 - (show annotations) (download)
Wed Mar 25 15:16:37 2009 UTC (15 years ago) by capela
File size: 3119 byte(s)
* Russian (qsampler_ru.ts by Alexandre Prokoudine) makes it as
  brand first translation delivered. Thanks and welcomes who
  ever may follow ;)

1 prefix = @ac_prefix@
2 qmake = @ac_qmake@
3 lupdate = @ac_lupdate@
4 lrelease = @ac_lrelease@
5
6 name = qsampler
7
8 headers = config.h \
9 src/qsamplerAbout.h \
10 src/qsamplerOptions.h \
11 src/qsamplerChannel.h \
12 src/qsamplerMessages.h \
13 src/qsamplerInstrument.h \
14 src/qsamplerInstrumentList.h \
15 src/qsamplerDevice.h \
16 src/qsamplerFxSend.h \
17 src/qsamplerFxSendsModel.h \
18 src/qsamplerUtilities.h \
19 src/qsamplerInstrumentForm.h \
20 src/qsamplerInstrumentListForm.h \
21 src/qsamplerDeviceForm.h \
22 src/qsamplerDeviceStatusForm.h \
23 src/qsamplerChannelStrip.h \
24 src/qsamplerChannelForm.h \
25 src/qsamplerChannelFxForm.h \
26 src/qsamplerOptionsForm.h \
27 src/qsamplerMainForm.h
28
29 sources = src/main.cpp \
30 src/qsamplerOptions.cpp \
31 src/qsamplerChannel.cpp \
32 src/qsamplerMessages.cpp \
33 src/qsamplerInstrument.cpp \
34 src/qsamplerInstrumentList.cpp \
35 src/qsamplerDevice.cpp \
36 src/qsamplerFxSend.cpp \
37 src/qsamplerFxSendsModel.cpp \
38 src/qsamplerUtilities.cpp \
39 src/qsamplerInstrumentForm.cpp \
40 src/qsamplerInstrumentListForm.cpp \
41 src/qsamplerDeviceForm.cpp \
42 src/qsamplerDeviceStatusForm.cpp \
43 src/qsamplerChannelStrip.cpp \
44 src/qsamplerChannelForm.cpp \
45 src/qsamplerChannelFxForm.cpp \
46 src/qsamplerOptionsForm.cpp \
47 src/qsamplerMainForm.cpp
48
49 forms = \
50 src/qsamplerInstrumentForm.ui \
51 src/qsamplerInstrumentListForm.ui \
52 src/qsamplerDeviceForm.ui \
53 src/qsamplerChannelStrip.ui \
54 src/qsamplerChannelForm.ui \
55 src/qsamplerChannelFxForm.ui \
56 src/qsamplerOptionsForm.ui \
57 src/qsamplerMainForm.ui
58
59 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
68 @$(qmake) -o $(name).mak $(name).pro
69
70 $(name): $(name).mak $(sources) $(headers) $(forms)
71 @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 !!!
80 # It is mandatory for Debian packaging.
81
82 install: $(name) icons/$(name).png
83 @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin
84 @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps
85 @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)
88 @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
90 @install -v -m 0644 $(translations_targets) $(DESTDIR)$(prefix)/share/locale
91
92 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
93 @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
94 @rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
95 @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
101 @make -f $(name).mak clean
102 @rm -f $(name) $(name).mak
103 @rm -rf *.cache *.log *.status $(translations_targets)

  ViewVC Help
Powered by ViewVC