[go: up one dir, main page]

File: Makefile

package info (click to toggle)
audiotools 3.1.1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 18,200 kB
  • sloc: ansic: 417,746; python: 59,089; xml: 1,639; makefile: 303; sh: 99
file content (96 lines) | stat: -rw-r--r-- 1,579 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
PYTHON = python

all:
	$(PYTHON) setup.py build

install: .FORCE
	$(PYTHON) setup.py install
	cd docs && $(MAKE) install

check: .FORCE
	cd test && $(PYTHON) test.py

probe:
	$(PYTHON) setup.py build_ext --dry-run

clean: .FORCE
	rm -rfv build
	rm -fv audiotools/*.pyc

distclean: clean
	cd docs && $(MAKE) clean

.FORCE:

construct:
	### This target is no longer required ###

construct_install:
	### This target is no longer required ###


#translation specific targets below

EXECUTABLES = \
audiotools_config \
cdda2track \
cddainfo \
cddaplay \
coverdump \
coverview \
dvda2track \
dvdainfo \
track2cdda \
track2track \
trackcat \
trackcmp \
trackinfo \
tracklength \
tracklint \
trackplay \
trackrename \
tracksplit \
tracktag

MODULES = \
__aiff__.py \
__ape__.py \
__au__.py \
__dvda__.py \
__flac__.py \
__id3__.py \
__id3v1__.py \
__image__.py \
__init__.py \
__m4a__.py \
__m4a_atoms__.py \
__mp3__.py \
__musepack__.py \
__ogg__.py \
__shn__.py \
__vorbis__.py \
__vorbiscomment__.py \
__wav__.py \
__wavpack__.py \
cue.py \
delta.py \
freedb.py \
musicbrainz.py \
player.py \
toc.py \
ui.py

audiotools.mo: en_US.po
	msgfmt $< --output-file=$@

en_US.po: audiotools.pot
	msginit --input=$< --locale=en_US --output-file=$@

audiotools.pot: audiotools-cli.pot audiotools-gui.pot
	msgcat -o audiotools.pot audiotools-cli.pot audiotools-gui.pot

audiotools-cli.pot: $(EXECUTABLES) $(MODULES)
	xgettext -L Python --keyword=_ --output=$@ $(EXECUTABLES) $(MODULES)

audiotools-gui.pot: $(GLADE_H_FILES)
	xgettext --keyword=N_ --from-code=UTF-8 --output=$@ $(GLADE_H_FILES)