From a5c74805690db3558085b24645353238ce3e9768 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 31 Jan 2012 17:23:55 -0700 Subject: [PATCH] get cowbull working --- packages/cowbull/cowbull.mk | 6 +++++- packages/cowbull/src/Makefile | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/cowbull/cowbull.mk b/packages/cowbull/cowbull.mk index 2ca432d..e435cc2 100644 --- a/packages/cowbull/cowbull.mk +++ b/packages/cowbull/cowbull.mk @@ -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)/ diff --git a/packages/cowbull/src/Makefile b/packages/cowbull/src/Makefile index a4b5489..978c8b7 100644 --- a/packages/cowbull/src/Makefile +++ b/packages/cowbull/src/Makefile @@ -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: