File: USAGE-update.sh

package info (click to toggle)
evolvotron 0.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,324 kB
  • sloc: cpp: 10,425; python: 162; sh: 138; makefile: 8
file content (7 lines) | stat: -rwxr-xr-x 600 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh

echo "Rebuilding built-in user documentation..."
if ! ./text_to_markup.py -html < USAGE > evolvotron.html ; then echo "Couldn't build evolvotron.html" ; fi
if ! ./text_to_markup.py -qml -s < USAGE > libevolvotron/usage_text.h ; then echo "Couldn't build libevolvotron/usage_text.h" ; fi
if ! test -s libevolvotron/usage_text.h ; then echo "\"Full built-in user documentation not available due to problem during build configuration\"" > libevolvotron/usage_text.h ; echo "Something went wrong, used built-in user documentation fallback plan"; fi
echo "...built built-in user documentation"