frappy/debian/rules
Alexander Lenz 2e104a9f40 [deb] install init script.
Change-Id: I07920959279c6e3bc8074c128fe6375624e3d2b6
2017-08-01 13:37:52 +02:00

22 lines
448 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEBPYTHON_DEFAULT=2.7
DEBPYTHON_SUPPORTED=2.7
export DEBPYTHON_DEFAULT DEBPYTHON_SUPPORTED
override_dh_install:
dh_install --list-missing
override_dh_installinit:
if [ "$$(lsb_release -s -c)" = "wheezy" ] ; then \
dh_installinit --onlyscripts --name=secop-server --no-start; \
fi
%:
dh $@ --with python2 --buildsystem=python_distutils