diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f3eedcd8..804468c1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -273,4 +273,6 @@ install(TARGETS libavrdude PUBLIC_HEADER DESTINATION include COMPONENT dev ) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/avrdude.conf" TYPE SYSCONF) -install(FILES avrdude.1 TYPE MAN) +install(FILES "avrdude.1" + DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" + ) diff --git a/src/avrdude.1 b/src/avrdude.1 index 05d656fa..1920b583 100644 --- a/src/avrdude.1 +++ b/src/avrdude.1 @@ -39,7 +39,7 @@ .Oc .Op Fl F .Op Fl i Ar delay -.Op Fl n logfile +.Op Fl l Ar logfile .Op Fl n .Op Fl O .Op Fl P Ar port