Version 1.14
[simpleserver-moved-to-github.git] / debian / rules
index a809b3a..4197e89 100755 (executable)
@@ -54,13 +54,17 @@ install-stamp:
        dh_clean -k
 
        # Add commands to install the package into debian/$PACKAGE_NAME here
-       $(MAKE) test
+       $(MAKE)
        $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
        # As this is a architecture dependent package, we are not
        # supposed to install stuff to /usr/share. MakeMaker creates
        # the dirs, we delete them from the deb:
-       rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+
+       # For some reason, the next line doesn't work properly under
+       # Ubuntu 5.10.  No time to figure it out, we'll just use -f
+       # instead for now.
+       rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 || echo "Ignoring rmdir failure"
 
        touch install-stamp
 
@@ -72,6 +76,7 @@ binary-indep: build install
 binary-arch: build install
        dh_testdir
        dh_testroot
+       cp LICENSE debian/copyright
        dh_installdocs README TODO
        dh_installexamples 
 #      dh_installmenu