mirror of
https://git.proxmox.com/git/libxdgmime-perl
synced 2025-07-30 05:01:02 +00:00
buildsys: add update-bindings target
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
e66585f467
commit
f05aec345d
6
Makefile
6
Makefile
@ -10,6 +10,12 @@ OPKGNAME=Xdgmime
|
|||||||
UPSTREAM=xdgmime-source/src
|
UPSTREAM=xdgmime-source/src
|
||||||
|
|
||||||
all: ${DEB}
|
all: ${DEB}
|
||||||
|
.PHONY: update-bindings
|
||||||
|
update-bindings:
|
||||||
|
cp -a ${UPSTREAM}/xdgmime*.[ch] ${OPKGNAME}/
|
||||||
|
h2xs -P -v ${DEB_VERSION_UPSTREAM} -F -DHAVE_MMAP -M '^XDG_' -t PV -Ofan Xdgmime xdgmime.h
|
||||||
|
rm -f ${OPKGNAME}/xdgmime*.[ch]
|
||||||
|
echo "Please manually check and add the diff of the automatically generated update"
|
||||||
|
|
||||||
.PHONY: ${BUILDSRC}
|
.PHONY: ${BUILDSRC}
|
||||||
${BUILDSRC}:
|
${BUILDSRC}:
|
||||||
|
Loading…
Reference in New Issue
Block a user