Installing samples
find -type f -exec install {} /usr/local/ergatis//samples \;
find: illegal option -- t
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
make: *** [samples] Error 1
It looks like $(SAMPLES_BUILD_DIR) is not defined in the Makefile:
samples : dirs
@echo "Installing samples"
find $(SAMPLES_BUILD_DIR) -type f -exec install {} $(SAMPLE_DOCS_DIR) \;
Should be $(SAMPLE_BUILD_DIR) .