moth/kevin/Makefile

26 lines
570 B
Makefile
Raw Normal View History

2009-10-01 18:35:12 -06:00
FAKE = fakeroot -s fake -i fake
INSTALL = $(FAKE) install
all: kevin.tce
kevin.tce: target
$(FAKE) sh -c 'cd target && tar -czf - --exclude=placeholder --exclude=*~ .' > $@
2009-10-05 16:51:45 -06:00
target: kevin.py run log.run
$(INSTALL) -D kevin.py target/usr/bin/kevin.py
2009-10-01 18:35:12 -06:00
2009-10-05 17:09:20 -06:00
$(INSTALL) --owner=100 -d target/var/lib/kevin/tokens
2009-10-01 18:35:12 -06:00
$(INSTALL) -d target/var/service/kevin
$(INSTALL) run target/var/service/kevin/run
$(INSTALL) -d target/var/service/kevin/log
$(INSTALL) log.run target/var/service/kevin/log/run
clean:
rm -rf target kevin.tce fake
%.pyc: %.py
python3 -c 'import $*'