pkg.in: more --parents
This cp(1) option has been employed already but just for the lists (and still incomplete as it didn't cover the names coming through groups mechanism); thanks sem@ for trying out groups/simply/*, failing to build an image and reporting the problem. Reported-by: Mikhail Efremov <sem@altlinux.org>
This commit is contained in:
parent
d053375ee2
commit
1ccdc90a3d
@ -12,7 +12,7 @@ TARGET := $(BUILDDIR)/$(SUFFIX)
|
||||
all: $(GLOBAL_DEBUG)
|
||||
@if [ -n "$(THE_GROUPS)$(MAIN_GROUPS)" ]; then \
|
||||
mkdir -p $(TARGET) && \
|
||||
cp -at $(TARGET) -- \
|
||||
cp --parents -at $(TARGET) -- \
|
||||
$(addsuffix .directory,$(THE_GROUPS) $(MAIN_GROUPS)); \
|
||||
mp-commit "$(TARGET)" "requested $(SUFFIX) copied over"; \
|
||||
fi
|
||||
|
@ -30,7 +30,7 @@ copy-lists:
|
||||
|
||||
copy-groups:
|
||||
@if [ -n "$(THE_GROUPS)$(MAIN_GROUPS)" ]; then \
|
||||
cp -at $(TARGET) -- $(THE_GROUPS) $(MAIN_GROUPS); \
|
||||
cp --parents -at $(TARGET) -- $(THE_GROUPS) $(MAIN_GROUPS); \
|
||||
fi
|
||||
|
||||
grep-archdep: a = $(ARCH)
|
||||
|
Loading…
Reference in New Issue
Block a user