diff --git a/Makefile b/Makefile index 9e40eb2..e88a6f6 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ -RUN = PYTHONPATH=/home/gryf/Devel/Python/pyGTKtalog:/home/gryf/.python_lib python +PYTHON_EXEC = PYTHONPATH=/home/gryf/Devel/Python/pyGTKtalog:/home/gryf/.python_lib python LOCALE = LC_ALL=pl_PL.utf8 FILE = pygtktalog.py .PHONY: run run: - @$(RUN) $(FILE) + @$(PYTHON_EXEC) $(FILE) .PHONY: runpl runpl: - @export $(LOCALE) && $(RUN) $(FILE) + @export $(LOCALE) && $(PYTHON_EXEC) $(FILE) .PHONY: clean clean: @@ -45,7 +45,7 @@ pltrans: pot .PHONY: test test: - cd test && python run_tests.py + cd test && $(PYTHON_EXEC) run_tests.py .PHONY: dist dist: diff --git a/cleanup.sh b/cleanup.sh deleted file mode 100755 index 46028d5..0000000 --- a/cleanup.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# remove ~, pyc, pyo files from current directory -find . -name \*~ -exec rm '{}' ';' -find . -name \*pyc -exec rm '{}' ';' -find . -name \*pyo -exec rm '{}' ';' diff --git a/pyGTKtalog b/pyGTKtalog deleted file mode 100755 index 57a5376..0000000 --- a/pyGTKtalog +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# Simple shell wraper to launch pyGTKtalog - -# change path to pygtktalog.py file full path, then you can move this shell -# script to desired place (like /usr/bin, /usr/local/bin, ~/bin and so on) -path_to_gtktalog_directory="." - -# python interpreter -python_intrpreter="/usr/bin/python" - -exec $python_intrpreter -OO ${path_to_gtktalog_directory}/pygtktalog.py "$@"