OSDN Git Service

fix LANG.
[rec10/rec10-git.git] / tstools / Makefile
index 03d2141..a4360b1 100755 (executable)
@@ -11,12 +11,19 @@ all:
 clean:
        cd epgdump;make clean
 install: 
-       mkdir $(DEST)
+       if ! [ -d $(DEST) ]; then mkdir -p $(DEST) ;fi
+       mkdir -p $(DEST)
        cd BonTsDemux;cp ./*.* $(DEST)/
        cd jTsSplitter;cp ./*.* $(DEST)/
        cd cfr2tc;cp ./cfr2tc.exe $(DEST)/
        cd DtsEdit;cp ./DtsEdit.exe $(DEST)/
+       cd xvfb-run;cp ./xvfb-run $(DEST)/
+       cd caption2ass;cp ./Caption2Ass.exe $(DEST)/
+       cd caption2ass;cp ./Caption.dll $(DEST)/
+       chmod +x $(DEST)/xvfb-run
        cd epgdump;make install
+       if ! [ -f ./neroAacEnc ]; then install -m755 /usr/local/bin ;fi
 uninstall:
-       rm -r $(DEST)
+       rm -rf $(DEST)
+       if ! [ -f /usr/local/bin/neroAacEnc ]; then rm /usr/local/bin/neroAacEnc ;fi
        cd epgdump;make uninstall