]> git.proxmox.com Git - libxdgmime-perl.git/blob - Makefile
d/control: update dh compat level to 12
[libxdgmime-perl.git] / Makefile
1 include /usr/share/dpkg/pkg-info.mk
2 include /usr/share/dpkg/architecture.mk
3
4 PACKAHE=libxdgmime
5
6 DEB = libxdgmime-perl_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
7
8 OPKGNAME=Xdgmime
9
10 ${DEB}: ${OPKGNAME}/Xdgmime.xs
11 -rm -rf build
12 cp -a ${OPKGNAME} build
13 cp -a debian build
14 cd build; dpkg-buildpackage -b -us -uc -rfakeroot
15 lintian ${DEB}
16
17 .PHONY: upload
18 upload: ${DEB}
19 tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch
20
21
22 CLEANFILES = *~ debian/*~ *.deb build libxdgmime-perl_*
23
24 .PHONY: clean
25 clean:
26 rm -rf ${CLEANFILES}
27
28 .PHONY: dinstall
29 dinstall: ${DEB}
30 dpkg -i ${DEB}