moth/packages/cowbull/cowbull.mk

24 lines
642 B
Makefile
Raw Normal View History

2012-01-31 16:45:53 -07:00
COWBULL_PKGDIR = $(TARGET)/cowbull
cowbull-install: cowbull-build
mkdir -p $(COWBULL_PKGDIR)
mkdir -p $(COWBULL_PKGDIR)/bin/
2012-01-31 17:23:55 -07:00
cp packages/cowbull/src/cowd $(COWBULL_PKGDIR)/bin
2012-01-31 16:45:53 -07:00
2012-01-31 17:23:55 -07:00
mkdir -p $(COWBULL_PKGDIR)/www/cowbull/
cp packages/cowbull/www/moo.html $(COWBULL_PKGDIR)/www/cowbull/index.html
cp packages/cowbull/src/cowcli $(COWBULL_PKGDIR)/www/cowbull/
2012-01-31 16:45:53 -07:00
$(call COPYTREE, packages/cowbull/service, $(COWBULL_PKGDIR)/service)
cp packages/cowbull/tokens.txt $(COWBULL_PKGDIR)/
cowbull-clean:
rm -rf $(COWBULL_PKGDIR)
$(MAKE) -C packages/cowbull/src clean
cowbull-build:
$(MAKE) -C packages/cowbull/src build
PACKAGES += cowbull