NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/53905: install(1) is unnecessarily difficult to use
>Number: 53905
>Category: bin
>Synopsis: install(1) is unnecessarily difficult to use
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 24 16:05:00 +0000 2019
>Originator: coypu
>Release: NetBSD 8.99.31
>Organization:
>Environment:
NetBSD planets 8.99.31 NetBSD 8.99.31 (GENERIC) #0: Thu Jan 24 20:41:48 IST 2019 fly@planets:/current/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
GDC effectively installs its runtime library source code to the machine:
ALL_DRUNTIME_INSTALL_DSOURCES = core/atomic.d core/attribute.d #... a list of 600+ files in 64 directories
install-data-local:
for file in $(ALL_DRUNTIME_INSTALL_DSOURCES); do \
$(INSTALL_HEADER) -D $(srcdir)/$$file \
$(DESTDIR)$(gdc_include_dir)/$$file ; \
done
This can't work with NetBSD install(1) because there is no stanza for creating
the directories used for these files.
I don't see why install(1) should require separate code for the creation of
directories.
This works fine in GNU install because:
-D create all leading components of DEST except the last, or all
components of --target-directory, then copy SOURCE to DEST
It appears that the rest of the world manages to hold up by having
automake mask these differences.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index