From: Rhonda D'Vine Date: Fri, 1 Jan 2016 15:14:53 +0000 (+0100) Subject: some proper handling of the build X-Git-Tag: debian/2.1.2-2~3 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=faf00aee376b6105b864c5dd4bb8fc42d343c348;p=pkg%2Fblosxom.git some proper handling of the build --- 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