get cowbull working

This commit is contained in:
Neale Pickett 2012-01-31 17:23:55 -07:00
parent aee131d2b2
commit 81ac3baeac
2 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,11 @@ cowbull-install: cowbull-build
mkdir -p $(COWBULL_PKGDIR)
mkdir -p $(COWBULL_PKGDIR)/bin/
$(MAKE) -C packages/cowbull/src install DESTDIR=$(CURDIR)/$(COWBULL_PKGDIR)
cp packages/cowbull/src/cowd $(COWBULL_PKGDIR)/bin
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/
$(call COPYTREE, packages/cowbull/service, $(COWBULL_PKGDIR)/service)
cp packages/cowbull/tokens.txt $(COWBULL_PKGDIR)/

View File

@ -1,10 +1,10 @@
DESTDIR ?= /tmp
all: cowd cowcli
build: cowd cowcli
cowcli: CC=cc
install: all
install: build
cp cowd cowcli $(DESTDIR)/bin/
clean: