Skip to content

Commit

Permalink
enable PLIST.auto for install-resources (#5016)
Browse files Browse the repository at this point in the history
hgy59 authored Dec 22, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f55533e commit a02705c
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions mk/spksrc.install-resources.mk
Original file line number Diff line number Diff line change
@@ -53,33 +53,19 @@ include ../../mk/spksrc.patch.mk
install: patch
include ../../mk/spksrc.install.mk

ifeq ($(strip $(PLIST_TRANSFORM)),)
PLIST_TRANSFORM= cat
endif
plist: install
include ../../mk/spksrc.plist.mk

.PHONY: cat_PLIST
cat_PLIST:
@for depend in $(DEPENDS) ; \
do \
$(MAKE) WORK_DIR=$(WORK_DIR) --no-print-directory -C ../../$$depend cat_PLIST ; \
done
@if [ -f PLIST ] ; \
then \
$(PLIST_TRANSFORM) PLIST ; \
else \
$(MSG) "No PLIST for $(NAME)" >&2; \
fi

### Clean rules
smart-clean:
rm -rf $(WORK_DIR)/$(PKG_DIR)
rm -f $(WORK_DIR)/.$(COOKIE_PREFIX)*

clean:
rm -fr work work-*

rm -fr work work-* build-*.log

all: install
all: install plist

### For make digests
include ../../mk/spksrc.generate-digests.mk

0 comments on commit a02705c

Please sign in to comment.