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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3521 - (show annotations) (download)
Wed Jul 3 08:16:46 2019 UTC (3 months, 2 weeks ago) by capela
File size: 3145 byte(s)
- Fixed translations lupdate makefile target.
1 prefix = @ac_prefix@
2
3 name = qsampler
4
5 target = src/$(name)
6
7 headers = \
8 src/config.h \
9 src/qsampler.h \
10 src/qsamplerAbout.h \
11 src/qsamplerOptions.h \
12 src/qsamplerChannel.h \
13 src/qsamplerMessages.h \
14 src/qsamplerInstrument.h \
15 src/qsamplerInstrumentList.h \
16 src/qsamplerDevice.h \
17 src/qsamplerFxSend.h \
18 src/qsamplerFxSendsModel.h \
19 src/qsamplerUtilities.h \
20 src/qsamplerInstrumentForm.h \
21 src/qsamplerInstrumentListForm.h \
22 src/qsamplerDeviceForm.h \
23 src/qsamplerDeviceStatusForm.h \
24 src/qsamplerChannelStrip.h \
25 src/qsamplerChannelForm.h \
26 src/qsamplerChannelFxForm.h \
27 src/qsamplerOptionsForm.h \
28 src/qsamplerMainForm.h
29
30 sources = \
31 src/qsampler.cpp \
32 src/qsamplerOptions.cpp \
33 src/qsamplerChannel.cpp \
34 src/qsamplerMessages.cpp \
35 src/qsamplerInstrument.cpp \
36 src/qsamplerInstrumentList.cpp \
37 src/qsamplerDevice.cpp \
38 src/qsamplerFxSend.cpp \
39 src/qsamplerFxSendsModel.cpp \
40 src/qsamplerUtilities.cpp \
41 src/qsamplerInstrumentForm.cpp \
42 src/qsamplerInstrumentListForm.cpp \
43 src/qsamplerDeviceForm.cpp \
44 src/qsamplerDeviceStatusForm.cpp \
45 src/qsamplerChannelStrip.cpp \
46 src/qsamplerChannelForm.cpp \
47 src/qsamplerChannelFxForm.cpp \
48 src/qsamplerOptionsForm.cpp \
49 src/qsamplerMainForm.cpp
50
51 forms = \
52 src/qsamplerInstrumentForm.ui \
53 src/qsamplerInstrumentListForm.ui \
54 src/qsamplerDeviceForm.ui \
55 src/qsamplerChannelStrip.ui \
56 src/qsamplerChannelForm.ui \
57 src/qsamplerChannelFxForm.ui \
58 src/qsamplerOptionsForm.ui \
59 src/qsamplerMainForm.ui
60
61 resources = \
62 src/qsampler.qrc
63
64 translations_sources = \
65 src/translations/qsampler_cs.ts \
66 src/translations/qsampler_fr.ts \
67 src/translations/qsampler_ru.ts
68
69 translations_targets = \
70 src/translations/qsampler_cs.qm \
71 src/translations/qsampler_fr.qm \
72 src/translations/qsampler_ru.qm
73
74
75 export datadir = @ac_datadir@
76 export mandir = @ac_mandir@
77
78 translations_dir = $(datadir)/$(name)/translations
79
80
81 export QMAKE = @ac_qmake@
82 export LUPDATE = @ac_lupdate@
83 export LRELEASE = @ac_lrelease@
84
85
86 all: $(target)
87
88
89 $(target): $(name).mak $(resources) ${forms} $(sources) $(headers)
90 @$(MAKE) -f $(name).mak
91
92 $(name).mak: $(name).pro
93 @$(QMAKE) -o $(name).mak $(name).pro
94
95
96 translations_lupdate: $(translations_sources)
97 @$(LUPDATE) -verbose -no-obsolete -recursive src -ts $(translations_sources)
98
99 translations_lrelease: translations_lupdate $(translations_targets)
100
101 %.qm: %.ts
102 @$(LRELEASE) -verbose $< -qm $@
103
104
105 install: $(target) translations_lrelease $(name).1
106 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
107 @install -d -v -m 0755 $(DESTDIR)$(translations_dir)
108 @install -d -v -m 0755 $(DESTDIR)$(mandir)/man1
109 @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir)
110 @install -v -m 0644 $(name)*.1 $(DESTDIR)$(mandir)/man1
111 @gzip -vf $(DESTDIR)$(mandir)/man1/$(name)*.1
112
113 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
114 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
115 @rm -rvf $(DESTDIR)$(translations_dir)
116 @rm -vf $(DESTDIR)$(mandir)/man1/$(name)*.1.gz
117
118
119 clean: $(name).mak
120 @$(MAKE) -f $(name).mak distclean || true
121 @rm -f $(target) $(target).mak $(name).mak
122 @rm -rf *.cache *.log *.status $(translations_targets)

  ViewVC Help
Powered by ViewVC