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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3822 - (show annotations) (download)
Sat Sep 12 23:28:24 2020 UTC (12 days, 8 hours ago) by capela
File size: 3467 byte(s)
- Tentative fix for correct French (fr) manual install.
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/qsamplerPaletteForm.h \
29 src/qsamplerMainForm.h
30
31 sources = \
32 src/qsampler.cpp \
33 src/qsamplerOptions.cpp \
34 src/qsamplerChannel.cpp \
35 src/qsamplerMessages.cpp \
36 src/qsamplerInstrument.cpp \
37 src/qsamplerInstrumentList.cpp \
38 src/qsamplerDevice.cpp \
39 src/qsamplerFxSend.cpp \
40 src/qsamplerFxSendsModel.cpp \
41 src/qsamplerUtilities.cpp \
42 src/qsamplerInstrumentForm.cpp \
43 src/qsamplerInstrumentListForm.cpp \
44 src/qsamplerDeviceForm.cpp \
45 src/qsamplerDeviceStatusForm.cpp \
46 src/qsamplerChannelStrip.cpp \
47 src/qsamplerChannelForm.cpp \
48 src/qsamplerChannelFxForm.cpp \
49 src/qsamplerOptionsForm.cpp \
50 src/qsamplerPaletteForm.cpp \
51 src/qsamplerMainForm.cpp
52
53 forms = \
54 src/qsamplerInstrumentForm.ui \
55 src/qsamplerInstrumentListForm.ui \
56 src/qsamplerDeviceForm.ui \
57 src/qsamplerChannelStrip.ui \
58 src/qsamplerChannelForm.ui \
59 src/qsamplerChannelFxForm.ui \
60 src/qsamplerOptionsForm.ui \
61 src/qsamplerPaletteForm.ui \
62 src/qsamplerMainForm.ui
63
64 resources = \
65 src/qsampler.qrc
66
67 translations_sources = \
68 src/translations/qsampler_cs.ts \
69 src/translations/qsampler_fr.ts \
70 src/translations/qsampler_ru.ts
71
72 translations_targets = \
73 src/translations/qsampler_cs.qm \
74 src/translations/qsampler_fr.qm \
75 src/translations/qsampler_ru.qm
76
77
78 export datadir = @ac_datadir@
79 export mandir = @ac_mandir@
80
81 translations_dir = $(datadir)/$(name)/translations
82
83
84 export QMAKE = @ac_qmake@
85 export LUPDATE = @ac_lupdate@
86 export LRELEASE = @ac_lrelease@
87
88
89 all: $(target)
90
91
92 $(target): $(name).mak $(resources) ${forms} $(sources) $(headers)
93 @$(MAKE) -f $(name).mak
94
95 $(name).mak: $(name).pro
96 @$(QMAKE) -o $(name).mak $(name).pro
97
98
99 translations_lupdate: $(translations_sources)
100 @$(LUPDATE) -verbose -no-obsolete -recursive src -ts $(translations_sources)
101
102 translations_lrelease: translations_lupdate $(translations_targets)
103
104 %.qm: %.ts
105 @$(LRELEASE) -verbose $< -qm $@
106
107
108 install: $(target) translations_lrelease $(name).1
109 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
110 @install -d -v -m 0755 $(DESTDIR)$(translations_dir)
111 @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir)
112 @install -d -v -m 0755 $(DESTDIR)$(mandir)/man1
113 @install -v -m 0644 $(name).1 $(DESTDIR)$(mandir)/man1/$(name).1
114 @gzip -nvf $(DESTDIR)$(mandir)/man1/$(name).1
115 @install -d -v -m 0755 $(DESTDIR)$(mandir)/fr/man1
116 @install -v -m 0644 $(name).fr.1 $(DESTDIR)$(mandir)/fr/man1/$(name).1
117 @gzip -nvf $(DESTDIR)$(mandir)/fr/man1/$(name).1
118
119 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
120 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
121 @rm -rvf $(DESTDIR)$(translations_dir)
122 @rm -vf $(DESTDIR)$(mandir)/man1/$(name).1.gz
123 @rm -vf $(DESTDIR)$(mandir)/fr/man1/$(name).1.gz
124
125
126 clean: $(name).mak
127 @$(MAKE) -f $(name).mak distclean || true
128 @rm -f $(target) $(target).mak $(name).mak
129 @rm -rf *.cache *.log *.status $(translations_targets)

  ViewVC Help
Powered by ViewVC