[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #712] GNU make can't handle spaces in pathnames
From: |
anonymous |
Subject: |
[bug #712] GNU make can't handle spaces in pathnames |
Date: |
Fri, 02 Aug 2013 16:56:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 |
Follow-up Comment #13, bug #712 (project make):
My workaround is to use a target that generates a local symlink to the file
with spaces:
.PRECIOUS: %.link
%.link:
ln -s "$$(echo $@ | sed -e 's/_dot_/./g' -e 's/_slash_///g' -e
's/_space_/
/g' -e 's/.link$$//')" $@
# should depend on ../Plugin Source/metadata/monitor.xml but gnumake doesn't
support spaces!
.DELETE_ON_ERROR:
%.sql: %.sql.haml Makefile $(wildcard _*.sql.haml)
_dot__dot__slash_Plugin_space_Source_slash_metadata_slash_monitor.xml.link
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?712>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #712] GNU make can't handle spaces in pathnames,
anonymous <=