]> git.proxmox.com Git - pve-installer.git/blobdiff - Makefile
implement previous button
[pve-installer.git] / Makefile
index 2d9f2ff49f3a7740aee9735f6af57e2cc18d7530..a805b327f65171711eedfd443de6df4c61067c3d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 PKGVER=5.0
-PKGREL=10
+PKGREL=24
 
 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               \
@@ -49,12 +50,22 @@ install: ${INSTALLER_SOURCES} ${HTML_COMMON_SOURCES} ${HTML_SOURCES}
        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
+       rsvg-convert -o $@ $<
+
+pve-banner.png: pve-banner.svg
+       rsvg-convert -o $@ $<
+
+.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
+       truncate -s 2G test.img
 
 check-pve: ${PVE_DEB} test.img
        rm -rf testdir
@@ -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 {} ';'