#DEVDEB = libarchive-dev_2.2.4-1_i386.deb
PPSRC = LibArchive
-PDEB = libarchive-perl_3.2.1-1_amd64.deb
+DEB = libarchive-perl_3.2.1-1_amd64.deb
-all: ${PDEB}
+all: ${DEB}
-${PDEB}: ${PPSRC}/LibArchive.xs
+${DEB}: ${PPSRC}/LibArchive.xs
-rm -rf build
rsync -a --exclude .svn ${PPSRC}/ build/
cp -a debian build
cd build; dpkg-buildpackage -b -us -uc -rfakeroot
- lintian ${PDEB}
+ lintian ${DEB}
.phony: upload
-upload: ${PDEB}
- tar cf - ${PDEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch
+upload: ${DEB}
+ tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch
CLEANFILES = *~ build *.deb libarchive_* ${OPKGNAME} libarchive-perl_*
.phony: clean
clean:
rm -rf ${CLEANFILES}
+
+.PHONY: dinstall
+dinstall: ${DEB}
+ dpkg -i ${DEB}