diff options
author | Bryan Drewery <bryan@shatow.net> | 2014-11-07 04:21:26 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2014-11-07 04:22:44 +0300 |
commit | 3621f0d28557cf7b8e31bda406e0f9cae1c58198 (patch) | |
tree | 957ada93e9d74137e5ef8ef98dfda0443d4c29ff /configure.ac | |
parent | e1d444a8b65331c8561fe97b07c8608ce309a9bf (diff) |
HTML: Always install assets into log dirs using a hardlinked base copy.
Timestamps are preserved such that the base copy in
/usr/local/poudriere/data/logs/bulk/.html is only touched when files are
changed. This directory is then hardlink copied into the log
directories. The goal is to be efficient with space usage in the log
dirs, compared to the first implementation of this that duplicated all
HTML files in every log dir.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ac275fee..d98e6322 100644 --- a/configure.ac +++ b/configure.ac @@ -33,4 +33,8 @@ AC_CHECK_HEADERS_ONCE([fcntl.h]) AC_CONFIG_FILES(Makefile) +# Preserve timestamps for install. This is needed to preserve hardlinks +# for HTML files. +AC_SUBST([INSTALL], ["${ac_cv_path_install% -c} -Cp"]) + AC_OUTPUT([src/etc/rc.d/poudriered]) |