mirror of
https://git.proxmox.com/git/libarchive-perl
synced 2025-10-17 11:24:45 +00:00
Makefile: cleanup, add dinstall target
This commit is contained in:
parent
f70b5a3c3f
commit
eca488f97f
16
Makefile
16
Makefile
@ -9,23 +9,27 @@ RELEASE=4.0
|
||||
#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}
|
||||
|
Loading…
Reference in New Issue
Block a user