Displaying 2 results from an estimated 2 matches for "extra_dir".
Did you mean:
extra_dirs
2005 Apr 23
0
update with -K?, ignore symlinks
Hi,
Under RH FC3, using rsync 2.6.4,
I am trying to do rsync on the following configuration:
Local host:
==========
/main/
dir1/
dir2/
Remote host:
===========
/main/
EXTRA_DIR/
dir1 -> EXTRA_DIR/dir1/
dir2/
What I would like to do is to update files from local host to remote
host, but ignore whatever dir is already a symlink on the remote host
(i.e. dir1). I was trying:
rsync --one-file-system -e "ssh -l whoever" \
--update -K --archive \...
2008 Dec 01
3
[LLVMdev] Multiple directories in a single library
...could
also explicitly define SOURCES, but this way you don't loose the default
all-sources-in-the-current-dir feature). For example, I would add:
EXTRA_SOURCES = $(wildcard $(PROJ_SRC_DIR)/SubDir/*.cpp)
to get all the cpp files in SubDir compiled as well.
It would be more elegant to specify EXTRA_DIRS instead (or perhaps a better
name) as a list of directories, and let Makefile.rules handle the wildcarding
here. However, I've not found a way to write
.for DIR in $(EXTRA_DIRS)
SOURCES += $(patsubst $(PROJ_SRC_DIR)/%, %, wildcard $(PROJ_SRC_DIR)/$DIR/*.cpp))
.endfor
in the Makefile (the abo...