This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mumbledj/debian/rules

26 lines
556 B
Plaintext
Raw Normal View History

2016-02-22 21:45:55 +01:00
#!/usr/bin/make -f
GOPATH := $(abspath $(CURDIR)/.go)
%:
dh $@ --with systemd
clean:
rm -f debian/changelog
EDITOR=true VISUAL=true dch --create --package=mumbledj --newversion=$$(git describe --tags) 'Auto-generated changelog entry; do not commit'
dh clean --with systemd
override_dh_auto_clean:
dh_auto_clean
rm -rf '$(GOPATH)' .vendor
override_dh_auto_build:
GOPATH='$(GOPATH)' PATH="$(GOPATH)/bin:$$PATH" make
override_dh_auto_install:
:
override_dh_install:
dh_install
install -m 0640 -T config.gcfg debian/mumbledj/etc/mumbledj.gcfg