Retour des fichiers Debian sur la branche de développement
This commit is contained in:
26
debian/rules
vendored
Normal file
26
debian/rules
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
export DH_VERBOSE=1
|
||||
|
||||
HYDRA_VERSION := v1.5.1
|
||||
|
||||
%:
|
||||
dh $@ --with systemd
|
||||
|
||||
override_dh_auto_build: $(GOPATH)
|
||||
./script/install.sh -b bin -d $(HYDRA_VERSION)
|
||||
|
||||
override_dh_auto_install:
|
||||
mkdir -p debian/hydra/usr/bin
|
||||
mkdir -p debian/hydra/etc/hydra
|
||||
|
||||
cp bin/hydra debian/hydra/usr/bin/hydra
|
||||
cp conf/hydra.yml debian/hydra/etc/hydra
|
||||
|
||||
install -d debian/hydra
|
||||
|
||||
override_dh_strip:
|
||||
|
||||
override_dh_auto_test:
|
Reference in New Issue
Block a user