pkg-dist.mk, pkg.sh: Rename PCKG variables to PKG
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 7m1s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m3s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 5m46s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m51s
CI / Packaging test (push) Successful in 0s
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 7m1s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m3s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 5m46s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m51s
CI / Packaging test (push) Successful in 0s
The previous commit renamed the dist/pckg directory to dist/pkg but kept the pckg spelling in the variables that reference it. Rename the variables to PKG: - DIST_PCKG_DIR to DIST_PKG_DIR (make/pkg-dist.mk, pkg.sh) - PCKG_TAR to PKG_TAR, PCKG_ROOT to PKG_ROOT and DIST_PCKG_RPM to DIST_PKG_RPM (make/pkg-dist.mk) None of the other 320 janware projects use these variables. Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.87.0 Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
29dffb9767
commit
f92de9f3ff
3 changed files with 28 additions and 28 deletions
|
|
@ -39,10 +39,10 @@ include $(JWBDIR)/make/tag-defs.mk
|
|||
|
||||
DIST_DIR = dist
|
||||
DIST_SRC_DIR = $(DIST_DIR)/src/$(PKG_PROJECT)-$(PKG_VERSION)
|
||||
DIST_PCKG_DIR = $(DIST_DIR)/pkg
|
||||
DIST_PKG_DIR = $(DIST_DIR)/pkg
|
||||
|
||||
UPLOAD_SRC_DIR = $(DIST_PCKG_DIR)
|
||||
PCKG_TAR ?= $(PKG_PROJECT)-$(PKG_VERSION).tar.gz
|
||||
UPLOAD_SRC_DIR = $(DIST_PKG_DIR)
|
||||
PKG_TAR ?= $(PKG_PROJECT)-$(PKG_VERSION).tar.gz
|
||||
|
||||
ifeq ($(PKG_FORMAT),debian)
|
||||
# too bad: debian Requires: somepkg = 1.2.3 isn't satisfied by somepkg-1.2.3-5
|
||||
|
|
@ -73,10 +73,10 @@ else
|
|||
PKG_SH_EXTRA_ARGS += -T $(PKG_DIR_BUILD)
|
||||
endif
|
||||
|
||||
DIST_DIRS = $(DIST_SRC_DIR) $(DIST_PCKG_DIR)
|
||||
BINARY_PKG = $(DIST_PCKG_DIR)/$(PKG_RUN_X86)
|
||||
DIST_DIRS = $(DIST_SRC_DIR) $(DIST_PKG_DIR)
|
||||
BINARY_PKG = $(DIST_PKG_DIR)/$(PKG_RUN_X86)
|
||||
ifeq ($(CREATE_DEVEL),true)
|
||||
BINARY_PKG += $(DIST_PCKG_DIR)/$(PKG_DEVEL_X86)
|
||||
BINARY_PKG += $(DIST_PKG_DIR)/$(PKG_DEVEL_X86)
|
||||
endif
|
||||
|
||||
PKG_REQUIRES_BUILD += $(call proj_query, pkg-requires $(PROJ_QUERY_PKG_REQUIRES_EXTRA_ARGS) build $(PROJECT))
|
||||
|
|
@ -106,7 +106,7 @@ PKG_SH = $(PKG_SH_EXE) \
|
|||
-E "$(PKG_RECOMMENDS_RUN)" \
|
||||
-X "$(PKG_CONFLICTS_RUN)" -Y "$(PKG_CONFLICTS_DEVEL)" \
|
||||
--provides-run "$(PKG_PROVIDES_RUN)" --provides-devel "$(PKG_PROVIDES_DEVEL)" \
|
||||
-m $(JWB_SCRIPT_DIR) -a $(PKG_ARCH) -p $(DIST_PCKG_DIR) -F $(PKG_FORMAT) \
|
||||
-m $(JWB_SCRIPT_DIR) -a $(PKG_ARCH) -p $(DIST_PKG_DIR) -F $(PKG_FORMAT) \
|
||||
-B $(PKG_UPLOAD_URLPREFIX) -A $(PKG_UPLOAD_FILE_ATTRIB) $(PKG_SH_EXTRA_ARGS)
|
||||
|
||||
all:
|
||||
|
|
@ -114,7 +114,7 @@ install:
|
|||
clean: pkg-clean
|
||||
distclean: pkg-clean
|
||||
|
||||
pkg-tgz: $(DIST_PCKG_DIR)/$(PCKG_TAR)
|
||||
pkg-tgz: $(DIST_PKG_DIR)/$(PKG_TAR)
|
||||
ftag: ftag.dist
|
||||
|
||||
pkg-upload-stable: pkg-upload-STABLE.dist
|
||||
|
|
@ -169,7 +169,7 @@ pkguninstall.dist:
|
|||
|
||||
upload-%.dist: %_$(PROJECT_CAPNAME)_RPM_RUN_I386
|
||||
cvs commit $<
|
||||
$(UPLOAD_SH) $< $(REMOTE_TARGET_PREFIX)$(PCKG_ROOT)/$<:640:750:$(FTP_RUN_USER).$(FTP_RUN_GROUP)
|
||||
$(UPLOAD_SH) $< $(REMOTE_TARGET_PREFIX)$(PKG_ROOT)/$<:640:750:$(FTP_RUN_USER).$(FTP_RUN_GROUP)
|
||||
touch $@
|
||||
|
||||
update-repo.dist: upload.dist
|
||||
|
|
@ -250,7 +250,7 @@ define increase_build_number
|
|||
endef
|
||||
|
||||
define check_reinstall_old
|
||||
(true $(addprefix && test -f ,$(DIST_PCKG_RPM)) && make pkg-uninstall && make pkg-install)
|
||||
(true $(addprefix && test -f ,$(DIST_PKG_RPM)) && make pkg-uninstall && make pkg-install)
|
||||
endef
|
||||
|
||||
md5:
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ distclean: clean
|
|||
love \
|
||||
mocclean \
|
||||
objclean \
|
||||
pckgclean \
|
||||
pkgclean \
|
||||
depsclean \
|
||||
profclean \
|
||||
push \
|
||||
|
|
@ -60,7 +60,7 @@ installexe: all checkroot $(INSTALLED_EXE)
|
|||
|
||||
installso: all checkroot install_dir_LIB $(INSTALLED_SHOBJS)
|
||||
|
||||
pckgclean:
|
||||
pkgclean:
|
||||
$(RM) -rf *.zip *.tar.gz *.rpm *.deb
|
||||
|
||||
tmpclean:
|
||||
|
|
|
|||
Loading…
Reference in a new issue