Skip to content

Commit

Permalink
Minor (docs)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Feb 8, 2024
1 parent 0513f0d commit a80352d
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ install(TARGETS
DESTINATION
${CMAKE_INSTALL_BINDIR})
install(FILES
share/${PROJECT_NAME}.1
docs/${PROJECT_NAME}.1
DESTINATION
${CMAKE_INSTALL_MANDIR}/man1)
install(FILES
Expand Down
2 changes: 1 addition & 1 deletion share/gendocs.sh → docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ echo "% POWERKIT(1) Version ${VERSION} | PowerKit Documentation" > tmp.md
echo "% Ole-André Rodlie" >> tmp.md
echo "% ${MONTH} ${YEAR}" >> tmp.md
cat docs/README.md >> tmp.md
$PANDOC tmp.md -s -t man > share/powerkit.1
$PANDOC tmp.md -s -t man > docs/powerkit.1
rm tmp.md
Binary file removed docs/images/screenshot-01.png
Binary file not shown.
Binary file removed docs/images/screenshot-02.png
Binary file not shown.
Binary file removed docs/images/screenshot-03.png
Binary file not shown.
File renamed without changes.
5 changes: 1 addition & 4 deletions src/powerkit_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,7 @@ namespace PowerKit
#define POWERKIT_PATH "/PowerKit"
#define POWERKIT_FULL_PATH "/org/freedesktop/PowerKit"
#define POWERKIT_MANAGER "org.freedesktop.PowerKit.Manager"

#define PMD_SERVICE "org.freedesktop.PowerKit"
#define PMD_PATH "/org/freedesktop/PowerKit"
#define PMD_MANAGER "org.freedesktop.PowerKit.Manager"
#define POWERKIT_CONFIG "org.freedesktop.PowerKit.Configuration"

#define PM_SERVICE "org.freedesktop.PowerManagement"
#define PM_PATH "/PowerManagement"
Expand Down

0 comments on commit a80352d

Please sign in to comment.