#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
#

include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS := htdocsdir=/usr/share/

binary-install/pysysinfo::
	dh_pycentral -ppysysinfo
	dh_python -ppysysinfo

binary-post-install/pysysinfo::
	mkdir -p debian/pysysinfo/etc/apache2/conf.d
	cp debian/apache2.conf debian/pysysinfo/etc/apache2/conf.d/pysysinfo
