missing features in make-helper.bsh for qubes-whonix package?

Information

ID: 168
PHID: PHID-TASK-w57ivbll7beruqvfaezi
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

Besides T167, are there any missing features in make-helper.bsh for the qubes-whonix package? @nrgaway?

While I am at implementing T167, and before I update the generic makefile in the packages, I could add a few more changes if required.


By the way, you can now drop snippets into a to-be-created-if-needed ./make-helper-overrides.d/ folder. When they are executable, they will be sourced in lexical order. Alternatively use ./make-helper-overrides.bsh. Useful to overwrite functions by make-helper.bsh.

Also added generic _hook_pre and _hook_post mechanism. Before calling any make helper function, function function-name_hook_pre would be called and function-name_hook_post after running the the make helper function.

For example. Let’s take function make_deb-pkg. You could define a make_deb-pkg_hook_pre or make_deb-pkg_hook_post using overrides.

Comments


nrgaway

2015-02-16 05:53:04 UTC


Patrick

2015-02-16 21:50:39 UTC