[Issue 14058] New: 'make install' option copies everything in std/ and etc/, not just .d and .di files

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 26 23:02:35 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14058

          Issue ID: 14058
           Summary: 'make install' option copies everything in std/ and
                    etc/, not just .d and .di files
           Product: D
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: joseph.wakeling at webdrake.net

Minor annoyance, but the posix.mak install2 target contains the following
lines:

    cp -r std/* $(INSTALL_DIR)/src/phobos/std/
    cp -r etc/* $(INSTALL_DIR)/src/phobos/etc/

which mean that any backup files created by an editor (e.g. std/something.d~)
will also be copied to the install dir.

It should be straightforward enough to instead put in place a filter on
filename, I'll try and submit a patch myself later today.

--


More information about the Digitalmars-d-bugs mailing list