zbatery.git  about / heads / tags
Zbatery HTTP server for Rack
blob 16766163264f7b4bdbe7e99b0a2d70dd743a4c2d 732 bytes (raw)
$ git show v4.1.2:GNUmakefile	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
all::
RSYNC_DEST := zbatery.bogomip.org:/srv/zbatery
rfproject := rainbows
rfpackage := zbatery
man-rdoc: man html
	for i in $(man1_rdoc); do echo > $$i; done
doc:: man-rdoc
include pkg.mk
ifneq ($(VERSION),)
release::
	$(RAKE) raa_update VERSION=$(VERSION)
	$(RAKE) publish_news VERSION=$(VERSION)
	$(RAKE) fm_update VERSION=$(VERSION)
endif

base_bins := zbatery
bins := $(addprefix bin/, $(base_bins))
man1_rdoc := $(addsuffix _1, $(base_bins))
man1_bins := $(addsuffix .1, $(base_bins))
man1_paths := $(addprefix man/man1/, $(man1_bins))
clean:
	-$(MAKE) -C Documentation clean

man html:
	$(MAKE) -C Documentation install-$@
pkg_extra += $(man1_paths)
doc::
	$(RM) $(man1_rdoc)

all:: test
test:
	$(MAKE) -C t
.PHONY: man html

git clone https://yhbt.net/zbatery.git