diff --git a/Makefile b/Makefile index cf0843c..ef945ec 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -PROJECT := Foobar -PACKAGE := foobar +PROJECT := ${patsubst ./%.sublime-project,"%", ${shell find . -type f -name '*.sublime-p*'}} +PACKAGE := ${patsubst ./%/__init__.py,"%", ${shell find -maxdepth 2 -name '__init__.py'}} SOURCES := Makefile setup.py $(shell find $(PACKAGE) -name '*.py') ENV := env