1 include /usr
/share
/dpkg
/default.mk
6 BUILDDIR
=build-
$(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
8 GITVERSION
:=$(shell git rev-parse HEAD
)
10 MAIN_DEB
=$(PACKAGE
)_
$(DEB_VERSION
)_
$(DEB_BUILD_ARCH
).deb
12 frr-doc_
$(DEB_VERSION
)_all.deb \
13 frr-pythontools_
$(DEB_VERSION
)_all.deb \
14 frr-snmp_
$(DEB_VERSION
)_
$(DEB_BUILD_ARCH
).deb \
17 frr-dbgsym_
$(DEB_VERSION
)_
$(DEB_BUILD_ARCH
).deb \
18 frr-snmp-dbgsym_
$(DEB_VERSION
)_
$(DEB_BUILD_ARCH
).deb \
20 DEBS
=$(MAIN_DEB
) $(OTHER_DEBS
) $(DBG_DEBS
)
27 test -f
"$(SRCDIR)/debian/changelog" || git submodule update
--init
29 $(BUILDDIR
): submodule debian
/changelog
30 rm -rf
$(BUILDDIR
) $(BUILDDIR
).tmp
31 cp
-a
$(SRCDIR
) $(BUILDDIR
).tmp
32 rm $(BUILDDIR
).tmp
/debian
/changelog
33 cp
-a debian
/* $(BUILDDIR
).tmp
/debian
/
34 mv
$(BUILDDIR
).tmp
$(BUILDDIR
)
38 $(OTHER_DEBS
) $(DBG_DEBS
): $(MAIN_DEB
)
39 $(MAIN_DEB
): $(BUILDDIR
)
40 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-uc
-us
--build-profiles
="pkg.frr.nortrlib"
45 tar cf
- $(DEBS
)|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye
52 rm -rf
*~ debian
/*~
*.deb build-
$(PACKAGE
)* *.changes
*.dsc
*.buildinfo