From: Sebastian Harl Date: Fri, 3 Jun 2011 17:45:44 +0000 (+0200) Subject: rules, collection4.install: Use dh_install to install and move files. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17bdc9234f83765ea61d955b7491999d5509c32a;p=pkg-collection4.git rules, collection4.install: Use dh_install to install and move files. --- diff --git a/debian/collection4.install b/debian/collection4.install new file mode 100644 index 0000000..a24f960 --- /dev/null +++ b/debian/collection4.install @@ -0,0 +1,3 @@ +etc/ +usr/bin/ usr/lib/collection4/ +usr/share/ usr/share/collection4/ diff --git a/debian/rules b/debian/rules index 69e4d3c..17e9846 100755 --- a/debian/rules +++ b/debian/rules @@ -56,13 +56,9 @@ install: build dh_prep dh_installdirs - $(MAKE) install DESTDIR=$(CURDIR)/debian/collection4 + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - mkdir -p debian/collection4/usr/lib/ - mv debian/collection4/usr/bin/ debian/collection4/usr/lib/collection4 - mkdir -p debian/collection4/usr/share/collection4 - mv debian/collection4/usr/share/*.css debian/collection4/usr/share/collection4 - mv debian/collection4/usr/share/*.js debian/collection4/usr/share/collection4 + dh_install --sourcedir=debian/tmp --fail-missing binary-indep: build install # nothing to do here