proxmox-perl-rs/defines.mk
Wolfgang Bumiller 6b2814d612 buildsys: generate Proxmox::Lib within the product Makefiles
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-11-15 13:13:59 +01:00

9 lines
223 B
Makefile

define package_template
sed -r \
-e 's/\{\{PRODUCT\}\}/$(1)/g;' \
-e 's/\{\{LIBRARY\}\}/$(2)/g;' \
-e 's|\{\{DEBUG_LIBPATH\}\}|$(DEBUG_LIBPATH)|g;' \
$(3)Proxmox/Lib/template.pm \
>Proxmox/Lib/$(1).pm
endef