This directory contains a Makefile for cloning, maintaining and building forks of Gilbert Chen's Duplicacy backup software. It can also be used to clone and build the original sources.
Setup and Initial Build
Makefile and set the value of
REPO to point at a Git repo
containing a forked copy of Duplicacy.
make to clone and build everything. Note that this process does
not re-use anything in your
$GOPATH, opting instead for a
Development and Build
A symbolic link called
work will take you directly into the part of
the Go directory where the Duplicacy sources live.
Make changes, do commits and anything else you'd normally do while working.
Build the Duplicacy binary by running
If the build is successful, a symbolic link called
appear in the top-level directory. (Conversely, if the build fails,
that symbolic link will disappear.)
Before commiting changes,
make unpatch will remove a change to one
file that makes Duplicacy compile outside of Gilbert Chen's environment.
make clean will remove everything not distributed with this
repository. If changes to the sources other than the aforementioned
patch are detected, nothing will be done. This check can be bypassed
by doing a