public
Description: A collection of audio handling programs which work from the command line.
Homepage: http://audiotools.sourceforge.net
Clone URL: git://github.com/tuffy/python-audio-tools.git
python-audio-tools / Makefile
100644 70 lines (50 sloc) 1.916 kb
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
export PYTHON = python
 
all:
$(PYTHON) setup.py build
 
install:
$(PYTHON) setup.py install
cd docs && $(MAKE) install
 
check:
cd test && $(PYTHON) test.py
 
clean:
rm -rfv build
rm -fv audiotools/*.pyc
cd docs && $(MAKE) clean
 
distclean: clean
cd docs && $(MAKE) distclean
 
construct:
### This target is no longer required ###
 
construct_install:
### This target is no longer required ###
 
 
#translation specific targets below
 
EXECUTABLES = cd2track cd2xmcd coverdump record2track track2cd \
track2track track2xmcd trackcat trackcmp trackinfo tracksplit \
tracklength trackrename tracklint tracktag coverdump editxmcd \
audiotools-config
 
GLADE_DIR = glade
GLADE_H_FILES = $(GLADE_DIR)/editxmcd.glade.h $(GLADE_DIR)/coverview.glade.h
 
MODULES = audiotools/__aiff__.py audiotools/__m4a__.py \
audiotools/__ape__.py audiotools/__mp3__.py \
audiotools/__au__.py audiotools/__musepack__.py \
audiotools/cue.py audiotools/replaygain.py \
audiotools/__flac__.py audiotools/__speex__.py \
audiotools/flac.py audiotools/toc.py \
audiotools/__freedb__.py audiotools/__vorbiscomment__.py \
audiotools/__id3__.py audiotools/__vorbis__.py \
audiotools/__id3v1__.py audiotools/__wavpack__.py \
audiotools/__image__.py audiotools/__wav__.py \
audiotools/__init__.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)
 
glade/editxmcd.glade.h: glade/editxmcd.glade
intltool-extract --type=gettext/glade $<
 
glade/coverview.glade.h: glade/coverview.glade
intltool-extract --type=gettext/glade $<