Code

rules, collection4.install: Use dh_install to install and move files.
authorSebastian Harl <sh@tokkee.org>
Fri, 3 Jun 2011 17:45:44 +0000 (19:45 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 3 Jun 2011 17:45:44 +0000 (19:45 +0200)
debian/collection4.install [new file with mode: 0644]
debian/rules

diff --git a/debian/collection4.install b/debian/collection4.install
new file mode 100644 (file)
index 0000000..a24f960
--- /dev/null
@@ -0,0 +1,3 @@
+etc/
+usr/bin/ usr/lib/collection4/
+usr/share/ usr/share/collection4/
index 69e4d3cb3e668b80a440a07fa1a8775b8a91ea97..17e9846b3b3388167d2aedce5e464c15c09a3946 100755 (executable)
@@ -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