Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Install adb man page #147

Merged
merged 2 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq \
${{ matrix.pkgs }} cmake git golang libbrotli-dev \
libgtest-dev liblz4-dev libpcre2-dev libprotobuf-dev libunwind-dev \
libusb-1.0-0-dev libzstd-dev make pkg-config
libusb-1.0-0-dev libzstd-dev make pandoc pkg-config
- name: checkout
uses: actions/checkout@v4
with:
Expand All @@ -26,6 +26,10 @@ jobs:
run: |
cd vendor/boringssl
go mod vendor
- name: generate man page
run: |
cd vendor/adb/docs/user
pandoc -s -t man adb.1.md -o adb.1
- name: build & install
run: |
mkdir build && cd build
Expand Down
2 changes: 2 additions & 0 deletions vendor/CMakeLists.adb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,5 @@ if(APPLE)
"-framework CoreFoundation"
"-framework IOKit")
endif()

install(FILES adb/docs/user/adb.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
Loading