1 include /usr
/share
/dpkg
/pkg-info.mk
2 include /usr
/share
/dpkg
/architecture.mk
5 export PVERELEASE
=$(DEB_VERSION_UPSTREAM
)
6 export VERSION
=$(DEB_VERSION_UPSTREAM_REVISION
)
10 SUBDIRS
= aplinfo PVE bin www services configs network-hooks
test
12 GITVERSION
:=$(shell git rev-parse
--short
=16 HEAD
)
14 DEB
=$(PACKAGE
)_
$(VERSION
)_
$(DEB_HOST_ARCH
).deb
17 set
-e
&& for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i; done
35 echo
"git clone git://git.proxmox.com/git/pve-manager.git\\ngit checkout $(GITVERSION)" > dest
/debian
/SOURCE
36 echo
"REPOID_GENERATED=$(GITVERSION)" > dest
/debian
/rules.env
37 cd dest
; dpkg-buildpackage
-b
-us
-uc
42 # check if working directory is clean
43 git diff
--exit-code
--stat
&& git diff
--exit-code
--stat
--staged
44 tar cf
- $(DEB
) | ssh
-X repoman@repo.proxmox.com upload
--product pve
--dist bullseye
47 install: vzdump-hook-script.pl
48 install -d
-m
0700 -o www-data
-g www-data
$(DESTDIR
)/var
/log
/pveproxy
49 install -d
$(DOCDIR
)/examples
50 install -d
$(DESTDIR
)/var
/lib
/$(PACKAGE
)
51 install -d
$(DESTDIR
)/var
/lib
/vz
/images
52 install -d
$(DESTDIR
)/var
/lib
/vz
/template
/cache
53 install -d
$(DESTDIR
)/var
/lib
/vz
/template
/iso
54 install -m
0644 vzdump-hook-script.pl
$(DOCDIR
)/examples
/vzdump-hook-script.pl
55 install -m
0644 spice-example-sh
$(DOCDIR
)/examples
/spice-example-sh
56 set
-e
&& for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i $@
; done
63 set
-e
&& for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i $@
; done
64 rm -rf dest country.dat
*.deb
*.buildinfo
*.changes ca-tmp