diff options
author | Robin Krahl <me@robin-krahl.de> | 2020-09-20 04:37:31 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-09-20 11:39:07 +0200 |
commit | 2b367a30df6e155621c116c41cc262dd96ad1a33 (patch) | |
tree | f915f625a44cec8ccdfe78f380b563c15d0aeef6 /Makefile | |
parent | 7394a6b188c2a6c0d5ae72f8bba5fddc9720613b (diff) | |
download | nitrokey-sys-rs-2b367a30df6e155621c116c41cc262dd96ad1a33.tar.gz nitrokey-sys-rs-2b367a30df6e155621c116c41cc262dd96ad1a33.tar.bz2 |
Use quilt to manage modifications in src/ffi.rs
Previously, we manually modified the src/ffi.rs file to add deprecation
attributes. With this patch, we use quilt to automatically apply
patches with the changes.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@ BINDGEN ?= bindgen LIBNITROKEY ?= $(wildcard libnitrokey-v*) src/ffi.rs: ${LIBNITROKEY}/NK_C_API.h + quilt pop -af || true ${BINDGEN} \ --whitelist-function "NK_.*" \ --whitelist-var "NK_.*" \ @@ -9,3 +10,4 @@ src/ffi.rs: ${LIBNITROKEY}/NK_C_API.h --output "$@" \ "$<" \ -- "-I${LIBNITROKEY}/libnitrokey" + quilt push -a |