This target serves primarily to document the h2xs arguments used when
updating the bindings.
Sadly h2xs overwrites quite a few things and is not configurable
comfortably (e.g. the AUTHOR is always taken from getpwuid)
so the manual checking will remain.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
all: ${DEB}
+.PHONY: update-bindings
+update-bindings:
+ h2xs -M '^(archive|ARCHIVE)_' -v ${DEB_VERSION_UPSTREAM} -On LibArchive /usr/include/archive.h /usr/include/archive_entry.h -larchive
+ echo "Please manually check and add the diff of the automatically generated update"
+
.PHONY: ${BUILDSRC}
${BUILDSRC}:
rm -rf ${BUILDSRC}