#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk DEB_FONTSHIP_GIT_VERSION ?= $(firstword $(subst +, ,$(DEB_VERSION_UPSTREAM))) %: dh $@ override_dh_auto_build: git init FONTSHIP_GIT_VERSION=$(DEB_FONTSHIP_GIT_VERSION) fontship -v make -- PROJECT=Libertinus FONTSHIP_GIT_VERSION=$(DEB_FONTSHIP_GIT_VERSION) fontship -v make preview.svg -- PROJECT=Libertinus