Files
i2p.plugins.tor-updater/debian/rules
2022-01-28 00:15:03 -05:00

16 lines
643 B
Makefile
Executable File

#!/usr/bin/make -f
export DH_GOLANG_INSTALL_EXTRA := tor-browser/TPO-signing-key.pub tor-browser/unpack/i2p.firefox ../../../github.com/jchavannes/go-pgp/pgp ../../../github.com/justinas/nosurf onion.png garliconion.png
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
#override_dh_auto_configure:
# mkdir -p _build/src/github.com/jchavannes/go-pgp/ _build/src/github.com/justinas/
# ln -sf ../../../github.com/jchavannes/go-pgp/pgp _build/src/github.com/jchavannes/go-pgp/pgp
# ln -sf ../../../github.com/justinas/nosurf _build/src/github.com/justinas/nosurf
override_dh_auto_install:
dh_auto_install -- --no-source