| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- PACKAGE=pve-iscsi-zfs-scst
- PKGVER=0.0.3
- DEB=${PACKAGE}_${PKGVER}_all.deb
- DESTDIR=
- PERL5DIR=${DESTDIR}/usr/share/perl5
- all:
- .PHONY: deb
- deb: ${DEB}
- ${DEB}:
- rm -rf build
- rsync -a * build
- cd build; dpkg-buildpackage -b -us -uc
- pwd
- echo ${DEB}
- lintian ${DEB}
- install: PVE
- install -d ${PERL5DIR}/PVE/Storage/Custom
- install -m 0644 PVE/Storage/Custom/scstZFSPlugin.pm ${PERL5DIR}/PVE/Storage/Custom/
- install -d ${PERL5DIR}/PVE/Storage/Custom/Shared
- install -m 0644 PVE/Storage/Custom/Shared/ZFSPluginPlus.pm ${PERL5DIR}/PVE/Storage/Custom/Shared/
- install -m 0644 QemuServer.patch ${PERL5DIR}/PVE/Storage/Custom/Shared/
- install -d ${PERL5DIR}/PVE/Storage/Custom/LunCmd
- install -m 0644 PVE/Storage/Custom/LunCmd/SCST.pm ${PERL5DIR}/PVE/Storage/Custom/LunCmd/
- .PHONY: upload
- upload: ${DEB}
- tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch
- distclean: clean
- clean:
- rm -rf ./build *.deb *.changes *.buildinfo
- .PHONY: dinstall
- dinstall: ${DEB}
- dpkg -i ${DEB}
|