mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
Rename the omnipresent MODDIR variable to JWBDIR, since that's more to the point. Signed-off-by: Jan Lindemann <jan@janware.com>
15 lines
318 B
Makefile
15 lines
318 B
Makefile
include $(JWBDIR)/make/defs.mk
|
|
|
|
EXE ?= $(shell $(PWD)).py
|
|
EXE_PATH ?= ./$(EXE)
|
|
|
|
all:
|
|
install:
|
|
clean:
|
|
distclean:
|
|
|
|
run:
|
|
python2 -m $(shell echo $(patsubst %.py,%,$(EXE)) | sed 's%^\./%%; s%/%.%g') $(EXE_ARGS)
|
|
|
|
pyc.clean:
|
|
find . -name '*.pyc' -print0 | xargs -r -0 $(RM) -f
|