r77302 - in /trunk/libhtml-mason-perl/debian: libhtml-mason-perl.install rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jul 9 12:17:37 UTC 2011
Author: gregoa
Date: Sat Jul 9 12:17:25 2011
New Revision: 77302
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77302
Log:
now really cdbs -> dh
Added:
trunk/libhtml-mason-perl/debian/libhtml-mason-perl.install
Modified:
trunk/libhtml-mason-perl/debian/rules
Added: trunk/libhtml-mason-perl/debian/libhtml-mason-perl.install
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/debian/libhtml-mason-perl.install?rev=77302&op=file
==============================================================================
--- trunk/libhtml-mason-perl/debian/libhtml-mason-perl.install (added)
+++ trunk/libhtml-mason-perl/debian/libhtml-mason-perl.install Sat Jul 9 12:17:25 2011
@@ -1,0 +1,1 @@
+usr/share
Modified: trunk/libhtml-mason-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/debian/rules?rev=77302&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/debian/rules (original)
+++ trunk/libhtml-mason-perl/debian/rules Sat Jul 9 12:17:25 2011
@@ -1,18 +1,14 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perl-makemaker.mk
+TMP = $(CURDIR)/debian/tmp
-# Make::Build doesn't support PREFIX
-DEB_MAKEMAKER_INVOKE = /usr/bin/perl Makefile.PL installdirs=vendor destdir=debian/libhtml-mason-perl noprompts=1
-DEB_MAKE_INSTALL_TARGET = install
-DEB_MAKE_CLEAN_TARGET = realclean
+%:
+ dh $@
-binary-post-install/libhtml-mason-perl::
- # don't install binaries or packlist
- rm -rf debian/libhtml-mason-perl/usr/bin
- rm -rf debian/libhtml-mason-perl/usr/lib
+override_dh_auto_install:
+ dh_auto_install
+ cp -v $(CURDIR)/debian/Apache*UserDirHandler.pm $(TMP)/usr/share/perl5/HTML/Mason
-install/libhtml-mason-perl::
- cp debian/Apache*UserDirHandler.pm debian/libhtml-mason-perl/usr/share/perl5/HTML/Mason
- cp -r htdocs/* debian/libhtml-mason-perl-doc/usr/share/doc/libhtml-mason-perl-doc/html
+override_dh_installdocs:
+ dh_installdocs
+ cp -rv $(CURDIR)/htdocs/* $(CURDIR)/debian/libhtml-mason-perl-doc/usr/share/doc/libhtml-mason-perl-doc/html
More information about the Pkg-perl-cvs-commits
mailing list