[bug #27801] Add -D flag to allow creation of directories when installing...

View: New views
4 Messages — Rating Filter:   Alert me  

[bug #27801] Add -D flag to allow creation of directories when installing...

by Sylvain Beucler-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


URL:
  <http://savannah.gnu.org/bugs/?27801>

                 Summary: Add -D flag to allow creation of directories when
installing...
                 Project: GNUstep
            Submitted by: gcasa
            Submitted on: Sat 24 Oct 2009 08:17:29 PM EDT
                Category: Makefiles
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This is useful for when a makefile must create headers where subdirectories
are required.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27801>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

[bug #27801] Add -D flag to allow creation of directories when installing...

by Sylvain Beucler-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #1, bug #27801 (project gnustep):

Could you clarify ?

If you have an example, could you attach/describe it in the issue ?
Examples are wonderful at clarifying these things. :-)

Thanks

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27801>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

[bug #27801] Add -D flag to allow creation of directories when installing...

by Sylvain Beucler-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #2, bug #27801 (project gnustep):

I am running into this issue during my port of WebKit....

When listing the headers in the GNUmakefile like so:

XXX_HEADER_FILES=
./somedir/somefile.h

GNUstep-make current dies because it uses install -n -p and somedir doesn't
currently exist.  If you add the -D flag it would attempt to create "somedir"
if it doesn't currently exist at the installation destination.   It simply
makes things easier.

Please let me know if you still need me to upload an example
framework/library to illustrate this.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27801>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

[bug #27801] Add -D flag to allow creation of directories when installing...

by Sylvain Beucler-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #3, bug #27801 (project gnustep):

Sure.

At the moment, having headers as in

xxx_HEADER_FILES = somedir/somefile.h ...

is not supported.


But if "somedir" is the same for all files, you can use

xxx_HEADER_FILES_DIR = somedir
xxx_HEADER_FILES = somefile.h ...

and that should work. :-)


Once I get a few hours free (probably sometime this week, or next weekend)
I'll have a look at supporting

xxx_HEADER_FILES = somedir/somefile.h ...

- the Etoile guys as well would appreciate that feature. ;-)

Thanks

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27801>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep