1 include /usr
/share
/dpkg
/pkg-info.mk
2 include /usr
/share
/dpkg
/architecture.mk
7 BUILDSRC
:= $(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
9 DEB_BASE
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
)
10 DEB1
=$(DEB_BASE
)_
$(DEB_BUILD_ARCH
).deb
11 DEB2
=$(PACKAGE
)-dev_
$(DEB_VERSION_UPSTREAM_REVISION
)_
$(DEB_BUILD_ARCH
).deb \
12 $(PACKAGE
)-dbgsym_
$(DEB_VERSION_UPSTREAM_REVISION
)_
$(DEB_BUILD_ARCH
).deb
15 TARGZ
=$(DEB_BASE
).
tar.gz
22 test -f
"$(SRCDIR)/debian/changelog" || git submodule update
--init
24 $(BUILDSRC
): lxc debian config | submodule
26 cp
-a
$(SRCDIR
) $(BUILDSRC
)
27 cp
-a debian
$(BUILDSRC
)/debian
28 mkdir
$(BUILDSRC
)/debian
/config
29 for i in config
/*.conf.in
; do \
30 sed
-e
's|@LXCTEMPLATECONFIG@|/usr/share/lxc/config|g' $$i > $(BUILDSRC
)/debian
/$${i
%.in
} ; \
32 echo
"git clone git://git.proxmox.com/git/lxc.git\\ngit checkout $(shell git rev-parse HEAD)" > $(BUILDSRC
)/debian
/SOURCE
39 cd
$(BUILDSRC
); dpkg-buildpackage
-b
-us
-uc
46 cd
$(BUILDSRC
); dpkg-buildpackage
-S
-us
-uc
-d
-nc
51 tar cf
- $(DEBS
) | ssh repoman@repo.proxmox.com upload
--product pve
--dist buster
57 rm -rf
$(BUILDSRC
) *.deb
*.dsc
*.
tar.gz
*.changes
*.dsc
*.buildinfo