diff options
| author | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2024-11-18 18:17:18 +0100 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2024-11-18 18:17:20 +0100 |
| commit | 98f4d7525c7ec1074f80fc6a683405c944495b2e (patch) | |
| tree | 08816927f6f3f60b7e3ef46867cc55e5c90e2f38 /Makefile | |
| parent | c64dd31bf9d30d7a8b2bf04e34d57c00baacb4e6 (diff) | |
split into implementation and API endpoint packages
To better handle the case where firewall requires to parse the SDN
config and this package here would like to mount some vnet specific
firewall endpoints, without a split we got a cyclic dependency here,
and those are painful, especially on bootstrapping.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -4,14 +4,17 @@ PACKAGE=libpve-network-perl BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM) -DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb +DEBS=\ + $(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb \ + libpve-network-api-perl_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb \ + DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc all: deb .PHONY: dinstall dinstall: deb - dpkg -i $(DEB) + dpkg -i $(DEBS) $(BUILDDIR): src debian rm -rf $@ $@.tmp @@ -21,10 +24,10 @@ $(BUILDDIR): src debian mv $@.tmp $@ .PHONY: deb -deb: $(DEB) -$(DEB): $(BUILDDIR) +deb: $(DEBS) +$(DEBS): $(BUILDDIR) cd $(BUILDDIR); dpkg-buildpackage -b -us -uc - lintian $(DEB) + lintian $(DEBS) .PHONY: dsc dsc: clean @@ -44,5 +47,5 @@ clean: .PHONY: upload upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) -upload: $(DEB) - tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) +upload: $(DEBS) + tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) |
