- ANAME="htools-$$VN.tar" ; \
- git archive --format=tar --prefix=htools-$$VN/ HEAD > $$ANAME ; \
- tar -r -f $$ANAME --transform="s,^,htools-$$VN/," version
+ PFX="ganeti-htools-$$VN" ; \
+ ANAME="$$PFX.tar" ; \
+ rm -f $$ANAME $$ANAME.gz ; \
+ git archive --format=tar --prefix=$$PFX/ HEAD > $$ANAME ; \
+ tar -r -f $$ANAME --owner root --group root \
+ --transform="s,^,$$PFX/," version apidoc $(DOCS) ; \
+ gzip -v9 $$ANAME ; \
+ tar tzvf $$ANAME.gz
+
+check: test
+ rm -f *.tix *.mix
+ ./test
+ifeq ($(T),markup)
+ mkdir -p coverage
+ hpc markup --destdir=coverage test $(HPCEXCL)
+else
+ hpc report test $(HPCEXCL)
+endif