get cowbull working

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

View File

@ -4,8 +4,12 @@ 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: