]> git.deb.at Git - pkg/blosxom.git/commitdiff
some proper handling of the build
authorRhonda D'Vine <rhonda@debian.org>
Fri, 1 Jan 2016 15:14:53 +0000 (16:14 +0100)
committerRhonda D'Vine <rhonda@debian.org>
Fri, 1 Jan 2016 15:14:53 +0000 (16:14 +0100)
debian/dirs
debian/install
debian/rules

index 7e71cf8d7fa04c60b6cf51c13f220112d25cea58..d3eab6dd874681ea896dbf44f6e9211f6b725b77 100644 (file)
@@ -1,3 +1,4 @@
+usr/lib/cgi-bin
 var/lib/blosxom/data/flavours
 var/lib/blosxom/state
 var/lib/blosxom/static
index c82f6403a17632ec0d3b4c8fb4f36481d4068d71..beef63b5dcdd714370b478e0772e21d3417265eb 100644 (file)
@@ -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
index 014af8504fa9c4cd6fd69154282e982442a75c00..a262827fc4d6f26b947fe2a5a7c53a248d9511e1 100755 (executable)
@@ -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