mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-04-28 15:16:21 +00:00
make: add deb-nostrip target
it builds about 1.5 times faster than regular `make deb` (shaving off a whopping 100s on my machine). the resulting debs containing executables are of course bigger (since the debug symbols are not split out into their own package, and the ELF linkage stripping is also skipped), but other than the associated file and memory mapping overhead there should be no difference in behaviour or performance, and such debs are suitable for local testing (both of the build process, and the built code). Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
42c6224f92
commit
8dab8f3301
6
Makefile
6
Makefile
@ -109,11 +109,15 @@ proxmox-backup-docs: build
|
||||
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean
|
||||
lintian $(DOC_DEB)
|
||||
|
||||
.PHONY: deb dsc deb-nodoc
|
||||
.PHONY: deb dsc deb-nodoc deb-nostrip
|
||||
deb-nodoc: build
|
||||
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean --build-profiles=nodoc
|
||||
lintian $(DEBS)
|
||||
|
||||
deb-nostrip: build
|
||||
cd build; DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -b -us -uc
|
||||
lintian $(DEBS) $(DOC_DEB)
|
||||
|
||||
$(DEBS): deb
|
||||
deb: build
|
||||
cd build; dpkg-buildpackage -b -us -uc
|
||||
|
Loading…
Reference in New Issue
Block a user