OSDN Git Service

stop using trunk directory in rectool
[rec10/rec10-git.git] / dist / trunk / tstools / Makefile
1 PREFIX = /usr/local/share
2 MAJOR = 0
3 MINOR = 9
4 REVISION = 10
5 VER = $(MAJOR).$(MINOR).$(REVISION)
6
7 DEST = $(PREFIX)/rec10/tstools
8
9 all: 
10         cd epgdump;make all
11         cd tunerec;make
12 clean:
13         cd epgdump;make clean
14 install: 
15         if ! [ -d $(DEST) ]; then mkdir -p $(DEST) ;fi
16         if [ -f $(DEST)/BonTsDemux.exe ]; then rm $(DEST)/BonTsDemux.exe ;fi
17         if [ -f $(DEST)/BonTsDemuxLib.dll ]; then rm $(DEST)/BonTsDemuxLib.dll ;fi
18         cd BonTsDemux;cp ./*.* $(DEST)/
19         if [ -f $(DEST)/jTsSplitter.jar ]; then rm $(DEST)/jTsSplitter.jar ;fi
20         cd jTsSplitter;cp ./*.* $(DEST)/
21         #cd cfr2tc;cp ./cfr2tc.exe $(DEST)/
22         #cd DtsEdit;cp ./DtsEdit.exe $(DEST)/
23         #cd xvfb-run;cp ./xvfb-run $(DEST)/
24         #cd caption2ass;cp ./Caption2Ass.exe $(DEST)/
25         #cd caption2ass;cp ./Caption.dll $(DEST)/
26         #chmod +x $(DEST)/xvfb-run
27         cd epgdump;make install
28         cd tunerec;install -m755 ./tunerec /usr/local/bin/
29         if [ -f ./neroAacEnc ]; then install -m755 ./neroAacEnc /usr/local/bin/ ;fi
30 uninstall:
31         rm -rf $(DEST)
32         if [ -f /usr/local/bin/neroAacEnc ]; then rm /usr/local/bin/neroAacEnc ;fi
33         rm -rf /usr/local/bin/tunerec
34         cd epgdump;make uninstall