]> git.proxmox.com Git - dab.git/blobdiff - Makefile
bootstrap: mask more systemd units that fail in containers
[dab.git] / Makefile
index d527faa057cc1bd4f366ad2218b8aa1168eb9b0a..8df494c1ec7d9e20dad9b4d8ef1a7893d1a3f52a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,12 +34,12 @@ all:
 dinstall: deb
        dpkg -i ${DEB}
 
-test: DAB.pm dab
-       perl -wc dab
-       perl -wc DAB.pm
+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}
@@ -47,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}
@@ -92,4 +92,4 @@ distclean: clean
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bookworm