1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-08 13:00:42 -07:00
moth/badmath/Makefile
2009-10-06 14:14:16 -06:00

26 lines
599 B
Makefile

FAKE = fakeroot -s fake -i fake
INSTALL = $(FAKE) install
all: badmath.tce
badmath.tce: target
$(FAKE) sh -c 'cd target && tar -czf - --exclude=placeholder --exclude=*~ .' > $@
target:
$(INSTALL) -d target/usr/lib/ctf/badmath
$(INSTALL) Gyopi.py badmath.py target/usr/lib/ctf/badmath
$(INSTALL) -d target/var/lib/badmath
$(INSTALL) -d target/var/service/badmath
$(INSTALL) run target/var/service/badmath/run
$(INSTALL) -d target/var/service/badmath/log
$(INSTALL) log.run target/var/service/badmath/log/run
clean:
rm -rf target badmath.tce fake
%.pyc: %.py
python3 -c 'import $*'