mirror of https://github.com/dirtbags/moth.git
get cowbull working
This commit is contained in:
parent
ac29393740
commit
f09591994d
|
@ -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)/
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue