4 ## @brief Update the Geeqie webpage Help files
6 ## It assumes that the main geeqie project folder and the
7 ## <em>geeqie.github.io</em> folder are at the same level.
17 ## geeqie geeqie.github.io
20 ## Files in <em>./doc/html</em> are regenerated and copied to the webpage folder.
22 ## After the script has run, <em>git diff</em> will show any changes that
23 ## require a <em>git commit</em> and <em>git push</em> to be made.
26 if [ ! -d ".git" ] || [ ! -d "src" ] || [ ! -f "geeqie.1" ]
28 printf '%s\n' "This is not a Geeqie project folder"
32 if [ ! -d "../geeqie.github.io/.git" ] || [ ! -d "../geeqie.github.io/help" ]
34 printf '%s\n' "The Geeqie webpage project folder geeqie.github.io was not found"
40 find ../geeqie.github.io/help/ -type f -exec rm "{}" \;
41 cp -a build/doc/html/* ../geeqie.github.io/help