Cloning a Subversion repository

If you are following the explanation in Version Control with Subversion, "Repository Replication", page 177, of how to clone a Subversion repository and want a working example then here it is as a Makefile

# NOTE ROOT must be an absolute path
ROOT=/tmp
CLONE=$(ROOT)/clone
SANDBOX=$(ROOT)/sandbox
SOURCE=http://css-boilerplate.googlecode.com/svn/

all: 
    svnadmin create $(CLONE)
    ln -s /usr/bin/true $(CLONE)/hooks/pre-revprop-change
    ln -s /usr/bin/true $(CLONE)/hooks/start-commit
    svnsync init file://$(CLONE) $(SOURCE)
    svn co file://$(CLONE) $(SANDBOX)
    svnsync sync file://$(CLONE)
    ( cd $(SANDBOX) ; svn update ; ls -l )

clean:
    rm -rf $(CLONE) $(SANDBOX)

# END

Replace SOURCE with a value appropriate to you. (Here I am using a convenient, small, public repository.)