Copying files with spaces in them
S P Arif Sahari Wibowo
arifsaha-/E1597aS9LQAvxtiuMwx3w at public.gmane.org
Thu Jan 29 00:00:52 UTC 2009
On Wed, 28 Jan 2009, Christopher Browne wrote:
> I've got a Makefile that is trying to copy man pages into
> place; unfortunately, since they are (somewhat legitimately)
> created with spaces in them, the following breaks:
>
> for file in $(wildcard man1/*) ; do \
> $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man1 || exit;\
> done
> for file in $(wildcard man7/*) ; do \
> $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man7 || exit;\
> done
Can you clarify the issue, whether:
a) The source directory is "wildcard man1" whose name contain
space,
b) The source files under source directory have names with
spaces in them, or
c) both?
--
(stephan paul) Arif Sahari Wibowo
_____ _____ _____ _____
/____ /____/ /____/ /____
_____/ / / / _____/ http://www.arifsaha.com/
** Xinnian Kuaile! 新年快樂 Gongxi Facai! 恭喜發財 **
More information about the Legacy
mailing list