From faf00aee376b6105b864c5dd4bb8fc42d343c348 Mon Sep 17 00:00:00 2001 From: Rhonda D'Vine Date: Fri, 1 Jan 2016 16:14:53 +0100 Subject: [PATCH] some proper handling of the build --- debian/dirs | 1 + debian/install | 2 +- debian/rules | 12 ++++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/dirs b/debian/dirs index 7e71cf8..d3eab6d 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,3 +1,4 @@ +usr/lib/cgi-bin var/lib/blosxom/data/flavours var/lib/blosxom/state var/lib/blosxom/static diff --git a/debian/install b/debian/install index c82f640..beef63b 100644 --- a/debian/install +++ b/debian/install @@ -1,5 +1,5 @@ -blosxom.cgi usr/lib/cgi-bin debian/blosxom.conf etc/blosxom debian/blosxom.7 usr/share/man/man7 debian/plugins/* etc/blosxom/plugins debian/plugins-available/* etc/blosxom/plugins-available +debian/README usr/share/doc/blosxom diff --git a/debian/rules b/debian/rules index 014af85..a262827 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,11 @@ %: dh $@ -override_dh_install: - dh_install - chown www-data:www-data $(TMP)/var/lib/blosxom/state - chown www-data:www-data $(TMP)/var/lib/blosxom/static +override_dh_auto_build: + # no, nothing to build here + +override_dh_installdirs: + dh_installdirs + chown www-data:www-data debian/blosxom/var/lib/blosxom/state + chown www-data:www-data debian/blosxom/var/lib/blosxom/static + cp blosxom.cgi debian/blosxom/usr/lib/cgi-bin/blosxom -- 2.39.2