Update automatic package generator

- add DEB package creation functionality
- update RPM spec file to work with SLES

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
This commit is contained in:
Rafal Stefanowski
2020-09-14 14:17:28 +02:00
parent bc5c92d3ed
commit ef70bce154
13 changed files with 291 additions and 42 deletions

View File

@@ -17,10 +17,14 @@ $(DIRS):
ifneq ($(MAKECMDGOALS),archives)
ifneq ($(MAKECMDGOALS),rpm)
ifneq ($(MAKECMDGOALS),srpm)
ifneq ($(MAKECMDGOALS),deb)
ifneq ($(MAKECMDGOALS),dsc)
cd $@ && $(MAKE) $(MAKECMDGOALS)
endif
endif
endif
endif
endif
archives:
@utils/pckgen $(PWD) tar zip
@@ -30,3 +34,9 @@ rpm:
srpm:
@utils/pckgen $(PWD) srpm --debug
deb:
@utils/pckgen $(PWD) deb
dsc:
@utils/pckgen $(PWD) dsc