mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
build.cmds.CmdCreatePkgConfig: Add module
Implement the functionality of create-pkg-config.sh in a Python module CmdCreatePkgConfig.py. This allows to remove create-pkg-config.sh and jw-build-functions.sh. Note that the translation was done pretty literally to play it safe. More code can and should be removed by taking advantage of the fact that jw-projects.py knows more about the project than the shell scripts. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
3370dd6236
commit
31537a0bd6
4 changed files with 59 additions and 557 deletions
|
|
@ -63,8 +63,8 @@ ifeq ($(CREATE_PKG_CONFIG),true)
|
|||
CREATE_PKG_CONFIG_OPTS += -l "-L$(PROJECT_DIRPATH)/lib -l$(PROJECT)"
|
||||
endif
|
||||
|
||||
$(LOCAL_PKG_CONFIG): $(PROJECT_DESCR_FILE) $(JWBDIR)/make/make.mk $(JWB_SCRIPT_DIR)/create-pkg-config.sh
|
||||
/bin/bash $(JWB_SCRIPT_DIR)/create-pkg-config.sh \
|
||||
$(LOCAL_PKG_CONFIG): $(PROJECT_DESCR_FILE) $(JWBDIR)/make/make.mk
|
||||
$(proj_query_cmd) create-pkg-config \
|
||||
-F $< \
|
||||
-n $(PROJECT) \
|
||||
-v $(DIST_VERSION) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue