]> git.proxmox.com Git - dab.git/blobdiff - Makefile
bootstrap: mask more systemd units that fail in containers
[dab.git] / Makefile
index 78faf98222993d8d5e2152cf38afaa5931587994..8df494c1ec7d9e20dad9b4d8ef1a7893d1a3f52a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,12 @@ all:
 dinstall: deb
        dpkg -i ${DEB}
 
+test: PVE/DAB.pm dab
+       perl -I . -wc dab
+       perl -wc PVE/DAB.pm
+
 .PHONY: install
-install: dab dab.1 dab.1.pod DAB.pm devices.tar.gz ${SCRIPTS}
+install: dab dab.1 dab.1.pod PVE/DAB.pm devices.tar.gz ${SCRIPTS}
        install -d ${SBINDIR}
        install -m 0755 dab ${SBINDIR}
        install -d ${MAN1DIR}
@@ -43,7 +47,7 @@ install: dab dab.1 dab.1.pod DAB.pm devices.tar.gz ${SCRIPTS}
        gzip -n -f9 ${MAN1DIR}/dab.1
        install -d ${PODDIR}
        install -m 0644 dab.1.pod ${PODDIR}
-       install -D -m 0644 DAB.pm ${PERLDIR}/PVE/DAB.pm
+       install -D -m 0644 PVE/DAB.pm ${PERLDIR}/PVE/DAB.pm
        install -d ${DATADIR}/scripts
        install -m 0755 ${SCRIPTS} ${DATADIR}/scripts
        install -m 0644 devices.tar.gz ${DATADIR}
@@ -88,4 +92,4 @@ distclean: clean
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist buster
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bookworm