[khronos-opencl-headers] 02/94: rename the directory in the tarball
Andreas Beckmann
anbe at moszumanska.debian.org
Mon Sep 21 02:39:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository khronos-opencl-headers.
commit d2b9ee5a5138c1e5562c6ccf50d477245c1190e1
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Fri Oct 1 21:56:16 2010 +0000
rename the directory in the tarball
git-svn-id: svn://svn.debian.org/svn/pkg-nvidia/packages/khronos-opencl-headers/trunk@1586 b6a4b1ba-b714-0410-8a2d-fc0b36c6496e
---
debian/rules | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index bd4a041..6c80e7d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,15 +6,17 @@
api = 1.0
headers = opencl.h cl_platform.h cl.h cl_ext.h cl_d3d10.h cl_gl.h cl_gl_ext.h
headers_hpp = cl.hpp
+src_dir = khronos-opencl-headers-$(api).orig
+src_file = khronos-opencl-headers-$(api).tar.gz
get-orig-source:
- rm -rf opencl-headers-$(api)
- mkdir opencl-headers-$(api)
- set -e; cd opencl-headers-$(api) ; \
+ rm -rf $(src_dir)
+ mkdir $(src_dir)
+ set -e; cd $(src_dir) ; \
for h in $(headers) ; do \
wget http://www.khronos.org/registry/cl/api/$(api)/$$h ; \
done ; \
for h in $(headers_hpp) ; do \
wget http://www.khronos.org/registry/cl/api/1.1/$$h ; \
done
- tar cfz opencl-headers-$(api).tar.gz --owner=root --group=src opencl-headers-$(api)
- rm -rf opencl-headers-$(api)
+ tar cfz $(src_file) --owner=root --group=src $(src_dir)
+ rm -rf $(src_dir)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/khronos-opencl-headers.git
More information about the Pkg-opencl-commits
mailing list