Skip to content

Commit

Permalink
In binary artifacts, nest includes deeper (#419)
Browse files Browse the repository at this point in the history
* nest includes deeper

* Each header in its own subdir
  • Loading branch information
almarklein authored Sep 12, 2024
1 parent 7656869 commit fad19f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit fad19f5

Please sign in to comment.