]> git.proxmox.com Git - pve-installer.git/blobdiff - Makefile
proxinstall: only display option maxroot for product pve
[pve-installer.git] / Makefile
index 578b436bd0c46cc7933a7d17e5173c524ecce3a6..1e5c3e05970bf11b5b51922531c2310ed0466b89 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 PKGVER=5.0
-PKGREL=10
+PKGREL=19
 
 PVE_DEB=pve-installer_${PKGVER}-${PKGREL}_all.deb
 PMG_DEB=pmg-installer_${PKGVER}-${PKGREL}_all.deb
@@ -11,7 +11,8 @@ INSTALLER_SOURCES=            \
        fake-start-stop-daemon  \
        policy-disable-rc.d     \
        interfaces              \
-       proxlogo.png            \
+       pmg-banner.png          \
+       pve-banner.png          \
        checktime               \
        xinitrc                 \
        Xdefaults               \
@@ -42,16 +43,26 @@ install: ${INSTALLER_SOURCES} ${HTML_COMMON_SOURCES} ${HTML_SOURCES}
        ln -s /tmp/resolv.conf.dhclient-new ${DESTDIR}/etc/resolv.conf.dhclient-new
        install -D -m 755 fake-start-stop-daemon ${DESTDIR}/var/lib/pve-installer/fake-start-stop-daemon
        install -D -m 755 policy-disable-rc.d ${DESTDIR}/var/lib/pve-installer/policy-disable-rc.d
-       install -D -m 755 country.dat ${DESTDIR}/var/lib/pve-installer/country.dat
+       install -D -m 644 country.dat ${DESTDIR}/var/lib/pve-installer/country.dat
        install -D -m 755 unconfigured.sh ${DESTDIR}/sbin/unconfigured.sh
        install -D -m 755 proxinstall ${DESTDIR}/usr/bin/proxinstall
        install -D -m 755 checktime ${DESTDIR}/usr/bin/checktime
        install -D -m 644 xinitrc ${DESTDIR}/.xinitrc
        install -D -m 644 Xdefaults ${DESTDIR}/.Xdefaults
 
-.phony: upload
-upload: ${PVE_DEB}
-       tar cf - ${PVE_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist stretch
+pmg-banner.png: pmg-banner.svg
+       inkscape $< --export-png=$@
+
+pve-banner.png: pve-banner.svg
+       inkscape $< --export-png=$@
+
+.phony: upload-pmg
+upload-pmg: ${PMG_DEB}
+       tar cf - ${PMG_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch
+
+.phony: upload-pve
+upload-pve: ${PVE_DEB}
+       tar cf - ${PVE_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch
 
 test.img:
        dd if=/dev/zero of=test.img bs=2048 count=1M
@@ -69,5 +80,5 @@ check-pmg: ${PMG_DEB} test.img
 .phony: clean
 clean:
        make -C html-common clean
-       rm -rf *~ *.deb target build packages packages.tmp testdir test.img pve-final.pkglist *.buildinfo *.changes country.dat
+       rm -rf *~ *.deb target build packages packages.tmp testdir test.img pve-final.pkglist *.buildinfo *.changes country.dat final.pkglist
        find . -name '*~' -exec rm {} ';'