Installing headers and library to /usr/local/ Requires workaround for version information header generation Install a man page Install some basic bash completion for maps Also update the readme to fit with the manpage and new autocompletion features Fixes the oddity where generated map files were missing the initial line of the header
13 lines
No EOL
318 B
Bash
Executable file
13 lines
No EOL
318 B
Bash
Executable file
HEADER="// Auto generated ttrts version header
|
|
// do not edit manually
|
|
#ifndef _TTRTS_VERSION_H_
|
|
#define _TTRTS_VERSION_H_
|
|
|
|
#define TTRTS_VERSION_MAJOR $1
|
|
#define TTRTS_VERSION_MINOR $2
|
|
#define TTRTS_VERSION_PATCH $3
|
|
#define TTRTS_VERSION_STRING \"v$1.$2.$3\"
|
|
|
|
#endif //_TTRTS_VERSION_H_"
|
|
|
|
echo "$HEADER" > "version.h" |