From fad19f5990d8eb9a6e942eb957344957193fe66d Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Thu, 12 Sep 2024 12:25:48 +0200 Subject: [PATCH] In binary artifacts, nest includes deeper (#419) * nest includes deeper * Each header in its own subdir --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4b331701..6a5546e6 100644 --- a/Makefile +++ b/Makefile @@ -53,12 +53,12 @@ package: lib-native lib-native-release LIBDIR=$(TARGET_DIR)/$$RELEASE; \ rm -r -f dist/$$ARCHIVEDIR; \ rm -f dist/$$ARCHIVEFILE; \ - mkdir dist/$$ARCHIVEDIR; \ - mkdir dist/$$ARCHIVEDIR/include; \ - mkdir dist/$$ARCHIVEDIR/lib; \ + mkdir -p dist/$$ARCHIVEDIR/include/webgpu; \ + mkdir -p dist/$$ARCHIVEDIR/include/wgpu; \ + mkdir -p dist/$$ARCHIVEDIR/lib; \ cp ./dist/wgpu-native-git-tag dist/$$ARCHIVEDIR; \ - cp ./ffi/webgpu-headers/webgpu.h dist/$$ARCHIVEDIR/include; \ - cp ./ffi/wgpu.h dist/$$ARCHIVEDIR/include; \ + cp ./ffi/webgpu-headers/webgpu.h dist/$$ARCHIVEDIR/include/webgpu; \ + cp ./ffi/wgpu.h dist/$$ARCHIVEDIR/include/wgpu; \ if [ $(OS_NAME) = linux ]; then \ cp ./$$LIBDIR/libwgpu_native.so dist/$$ARCHIVEDIR/lib; \ cp ./$$LIBDIR/libwgpu_native.a dist/$$ARCHIVEDIR/lib; \