mirror of https://github.com/dirtbags/moth.git
get cowbull working
This commit is contained in:
parent
1309c95598
commit
2533ee1222
|
@ -4,8 +4,12 @@ cowbull-install: cowbull-build
|
||||||
mkdir -p $(COWBULL_PKGDIR)
|
mkdir -p $(COWBULL_PKGDIR)
|
||||||
|
|
||||||
mkdir -p $(COWBULL_PKGDIR)/bin/
|
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)
|
$(call COPYTREE, packages/cowbull/service, $(COWBULL_PKGDIR)/service)
|
||||||
cp packages/cowbull/tokens.txt $(COWBULL_PKGDIR)/
|
cp packages/cowbull/tokens.txt $(COWBULL_PKGDIR)/
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
DESTDIR ?= /tmp
|
DESTDIR ?= /tmp
|
||||||
|
|
||||||
all: cowd cowcli
|
build: cowd cowcli
|
||||||
|
|
||||||
cowcli: CC=cc
|
cowcli: CC=cc
|
||||||
|
|
||||||
install: all
|
install: build
|
||||||
cp cowd cowcli $(DESTDIR)/bin/
|
cp cowd cowcli $(DESTDIR)/bin/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue