1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk # DEB_VERSION
export DH_GOLANG_INSTALL_EXTRA := testdata metaschemas
%:
dh $@ --builddirectory=_build --buildsystem=golang
B = $(CURDIR)/debian/tmp/usr/bin
M = $(CURDIR)/debian/jsonschema-jv/usr/share/man/man1
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
execute_before_dh_installman-arch:
mkdir -pv $(M)
help2man --version-string="$(DEB_VERSION)" \
--no-info --no-discard-stderr \
--opt-include=debian/jv.h2m \
--output $(M)/jv.1 \
$(B)/jv
endif
|