diff --git a/build.sh b/build.sh index 5a75cfe..1f3e40d 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ include_file() { cp install.sh tmp1 i=1 for f in archives.html article.html \ - fugitive.css print.css \ + fugitive.css print.css README \ post-commit.sh post-receive.sh; do j=$((1 - i)) include_file tmp$i $f > tmp$j diff --git a/install.sh b/install.sh index 4320f7e..8505ef9 100644 --- a/install.sh +++ b/install.sh @@ -45,6 +45,11 @@ fugitive_install() { EOF fugitive_write_template > _templates/archives.html < _articles/README </dev/null git commit -m "fugitive inital import" >/dev/null echo "done." - echo -n "Preventing git to track temp files... " - echo "*~" > .git/info/exclude + echo -n "Preventing git to track temporary and generated files... " + echo "*~\nindex.html\narchives.html" > .git/info/exclude echo "done." cd - >/dev/null echo "Installation complete, please see the README file for an howto."