summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRitesh Raj Sarraf <rrs@researchut.com>2010-10-01 22:41:40 +0530
committerRitesh Raj Sarraf <rrs@researchut.com>2010-10-01 22:41:40 +0530
commit22ad97564fa3e3be69d21e4d87d244199e4253dd (patch)
tree3ddb7ec9f07fafa0d15842421100db6f798d44ae /debian
parent0324563db440b6f26b5f3c46d7eed370d5574e8e (diff)
fix paths and copy source files
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 83e3006..08c7597 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,8 +66,9 @@ override_dh_install:
dh_installdirs -p$(pdkms) usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian
install -D -m 0755 debian/rules.modules debian/$(pdkms)/tmp/modules/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian/rules
for f in debian/*.modules.in debian/control debian/compat debian/copyright debian/changelog; do \
- install -m 0644 $$f debian/$(pdkms)/tmp/modules/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian/; \
+ install -m 0644 $$f debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian/; \
done
+ cp module/* debian/$(pdkms)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/
cd debian/tmp/; tar jcvf ../sysprof-module-source/usr/src/sysprof-module.tar.bz2 modules; cd ../../
rm -rf debian/tmp/modules