diff options
author | Gui Chen <gui.chen@intel.com> | 2013-12-05 03:45:56 -0500 |
---|---|---|
committer | Gui Chen <gui.chen@intel.com> | 2013-12-10 21:54:23 -0500 |
commit | 3ffcc4b36ceb1321d1e8f28c2a4fb24af6d288d8 (patch) | |
tree | 5767ea4f586fccb92cc8a8cdf20b4a04f932c95f /debian | |
parent | 47bdabcf4028bee77f1f46e553639851671eab85 (diff) | |
download | mic-3ffcc4b36ceb1321d1e8f28c2a4fb24af6d288d8.tar.gz mic-3ffcc4b36ceb1321d1e8f28c2a4fb24af6d288d8.tar.bz2 mic-3ffcc4b36ceb1321d1e8f28c2a4fb24af6d288d8.zip |
fix right install location in debian packaging
Change-Id: If6a75da2e5b838fd384c460745438c7d289e6f08
Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/mic-native.install | 2 | ||||
-rw-r--r-- | debian/mic.install | 8 | ||||
-rwxr-xr-x | debian/rules | 16 |
3 files changed, 16 insertions, 10 deletions
diff --git a/debian/mic-native.install b/debian/mic-native.install index dfb6146..29caf35 100644 --- a/debian/mic-native.install +++ b/debian/mic-native.install @@ -1 +1 @@ -debian/mic/usr/bin/mic-native +usr/bin/mic-native diff --git a/debian/mic.install b/debian/mic.install index 499f595..759a2c3 100644 --- a/debian/mic.install +++ b/debian/mic.install @@ -1,3 +1,5 @@ -debian/mic/usr/bin/mic -debian/mic/usr/lib/* -debian/mic/etc/* +usr/bin/mic +usr/lib/* +usr/share/* +usr/share/* +etc/* diff --git a/debian/rules b/debian/rules index 9049449..8617a17 100755 --- a/debian/rules +++ b/debian/rules @@ -31,12 +31,16 @@ install: build dh_installdirs # Installing package - mkdir -p $(CURDIR)/debian/mic $(CURDIR)/debian/mic/usr/bin $(CURDIR)/debian/mic/usr/share/man/man1 $(CURDIR)/debian/mic/etc/bash_completion.d $(CURDIR)/debian/mic/etc/zsh_completion.d - install -m644 doc/mic.1 $(CURDIR)/debian/mic/usr/share/man/man1 - install -m755 etc/mic.bash $(CURDIR)/debian/mic/etc/bash_completion.d/mic.sh - install -m755 etc/_mic $(CURDIR)/debian/mic/etc/zsh_completion.d/_mic - install -m755 tools/mic $(CURDIR)/debian/mic/usr/bin/mic-native - python setup.py install --root=$(CURDIR)/debian/mic + mkdir -p $(CURDIR)/debian/tmp/ + mkdir -p $(CURDIR)/debian/tmp/usr/bin + mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1 + mkdir -p $(CURDIR)/debian/tmp/etc/bash_completion.d + mkdir -p $(CURDIR)/debian/tmp/etc/zsh_completion.d + install -m644 doc/mic.1 $(CURDIR)/debian/tmp/usr/share/man/man1 + install -m755 etc/mic.bash $(CURDIR)/debian/tmp/etc/bash_completion.d/mic.sh + install -m755 etc/_mic $(CURDIR)/debian/tmp/etc/zsh_completion.d/_mic + install -m755 tools/mic $(CURDIR)/debian/tmp/usr/bin/mic-native + python setup.py install --root=$(CURDIR)/debian/tmp binary-indep: build install dh_testdir |