mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2024-11-22 04:33:19 +00:00
Fixes for make-targets.sh
- fix top dir to "." - "clean" removes hex files and toc files from doc source directory
This commit is contained in:
parent
62b27e0a3d
commit
327d8ec913
@ -63,7 +63,7 @@ build_arch() {
|
||||
local hardware_sig="$2"
|
||||
|
||||
cmake -S . -B "build-$target_arch" -G "$GENERATOR" \
|
||||
-DCMAKE_INSTALL_PREFIX=".." -DARCH="$target_arch" \
|
||||
-DCMAKE_INSTALL_PREFIX="." -DARCH="$target_arch" \
|
||||
-DCMAKE_BUILD_TYPE="$BUILD_TYPE"
|
||||
|
||||
}
|
||||
@ -81,9 +81,11 @@ deploy_arch() {
|
||||
clean_all() {
|
||||
echo "- Removing install dir \"$INSTALL_DIR\"..."
|
||||
rm -rvf "$INSTALL_DIR"
|
||||
echo "- Removing download links..."
|
||||
echo "- Removing download links from doc dir..."
|
||||
rm -vf $DOC_DIR/source/toc_*
|
||||
echo "- Removing versioned index file"
|
||||
echo "- Removing hex files from doc dir..."
|
||||
rm -vf $DOC_DIR/source/*.hex
|
||||
echo "- Removing versioned index file from doc dir"
|
||||
rm -vf "$DOC_DIR/source/index.rst"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user