aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dc55e2f..bf47813 100644
--- a/Makefile
+++ b/Makefile
@@ -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