1 include /usr
/share
/dpkg
/default.mk
6 BUILDDIR
=$(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
8 ORIG_SRC_TAR
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM
).orig.
tar.gz
9 DSC
=$(PACKAGE
)_
$(DEB_VERSION
).dsc
11 MAIN_DEB
=$(PACKAGE
)_
$(DEB_VERSION
)_
$(DEB_HOST_ARCH
).deb
13 frr-doc_
$(DEB_VERSION
)_all.deb \
14 frr-pythontools_
$(DEB_VERSION
)_all.deb \
15 frr-snmp_
$(DEB_VERSION
)_
$(DEB_HOST_ARCH
).deb \
18 frr-dbgsym_
$(DEB_VERSION
)_
$(DEB_HOST_ARCH
).deb \
19 frr-snmp-dbgsym_
$(DEB_VERSION
)_
$(DEB_HOST_ARCH
).deb \
21 DEBS
=$(MAIN_DEB
) $(OTHER_DEBS
) $(DBG_DEBS
)
28 test -f
"$(SRCDIR)/debian/changelog" || git submodule update
--init
30 $(BUILDDIR
): submodule debian
/changelog
32 cp
-a
$(SRCDIR
) $@.tmp
33 rm $@.tmp
/debian
/changelog
34 cp
-a debian
/* $@.tmp
/debian
/
37 $(ORIG_SRC_TAR
): $(BUILDDIR
)
38 tar czf
$(ORIG_SRC_TAR
) --exclude
="$(BUILDDIR)/debian" $(BUILDDIR
)
42 $(OTHER_DEBS
) $(DBG_DEBS
): $(MAIN_DEB
)
43 $(MAIN_DEB
): $(BUILDDIR
)
44 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-uc
-us
--build-profiles
="pkg.frr.nortrlib"
49 rm -rf
$(BUILDDIR
) $(ORIG_SRC_TAR
) $(DSC
)
53 $(DSC
): $(BUILDDIR
) $(ORIG_SRC_TAR
)
54 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-uc
-us
--build-profiles
="pkg.frr.nortrlib" -d
57 sbuild
--profiles
="pkg.frr.nortrlib" $<
61 tar cf
- $(DEBS
)|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye
68 rm -rf
$(PACKAGE
)-[0-9]*/
69 rm -rf
$(PACKAGE
)*.
tar* *.deb
*.dsc
*.changes
*.dsc
*.buildinfo
*.build