jw-pkg/Makefile
Jan Lindemann 673953e56c
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m19s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m50s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m31s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m37s
CI / Packaging test (push) Successful in 0s
.gitignore: Run make gitignore
Update .gitignore by running "make gitignore. Add a couple of jw-pkg-
specific build-artifacts to GITIGNORE_PATTERNS_END before:

  .cache-projects.mk
  make/ssh-wrapper.sh

Also cancel the automatic inclusion of file paths containing jw-pkg with
an empty GITIGNORE_PATTERNS_TOP.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-09-13 23:09:26 +02:00

28 lines
911 B
Makefile

TOPDIR = .
PKG_UPLOAD_URLPREFIX ?= rsync_ssh://$(JANWARE_USER)@pkg.janware.com:/srv/dav/pub/packages/jw-foss/$(PKG_UPLOAD_OS_NAME)/$(PKG_UPLOAD_OS_VERSION)
all:
all: cache-projects
GITIGNORE_PATTERNS_TOP =
GITIGNORE_PATTERNS_END = .cache-projects.mk make/ssh-wrapper.sh
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/topdir.mk
include $(JWBDIR)/make/srcdist.mk
include $(JWBDIR)/make/git-cvs-bridge.mk
include $(JWBDIR)/make/py-topdir.mk
clean: clean.pkgconfig
clean.pkgconfig:
rm -rf pkgconfig
# -- Cache for all projects
cache-projects: $(CACHE_PROJECTS_MK)
clean.cache-projects:
rm -f $(CACHE_PROJECTS_MK)
topdir.clean: clean.cache-projects
$(CACHE_PROJECTS_MK): $(CACHE_PROJECT_MK)
sed -E '/^[[:blank:]]*ifndef[[:blank:]]+($(subst $(space),|,$(CACHED_VARS_ONLY_PROJECT)))[[:blank:]]*$$/,/^[[:blank:]]*endif[[:blank:]]*$$/d' $< > $@.tmp
mv $@.tmp $@