Project not found: home:jsrain:branches:SUSE:SLFO:Products:SL-Micro:6.2

File debian.rules of Package apache-waf-api

#!/usr/bin/make -f

export GOPATH = $(CURDIR)/.gopath
export GOCACHE = $(CURDIR)/.gocache

%:
	dh $@

override_dh_auto_build:
	make build VERSION=$(shell dpkg-parsechangelog -S Version | sed 's/-[^-]*$$//')

override_dh_auto_install:
	install -D -m 0755 apache-waf-api debian/apache-waf-api/usr/bin/apache-waf-api
	install -D -m 0644 dist/apache-waf-api.service debian/apache-waf-api/usr/lib/systemd/system/apache-waf-api.service
	install -D -m 0640 conf/config.example.yaml debian/apache-waf-api/etc/apache-waf-api/config.yaml

override_dh_auto_test:

override_dh_auto_clean:
	rm -f apache-waf-api
	rm -rf .gopath .gocache
	dh_auto_clean
openSUSE Build Service is sponsored by