install faq.md

This commit is contained in:
Alexey Loginov 2019-07-02 01:12:36 +03:00
parent 88f4b93ab0
commit 66fc37c7df
4 changed files with 6 additions and 2 deletions

View File

@ -164,7 +164,7 @@ unix {
contains(NO_DOCS, OFF){
message(building with docs)
docs.path = $$PREFIX/share/doc/pianobooster
docs.files = README.md ReleaseNotes.txt
docs.files = README.md ReleaseNotes.txt doc/faq.md
INSTALLS += docs
}

View File

@ -84,7 +84,7 @@ PianoBooster, using the PC keyboard ('x' is middle C), but a MIDI piano
is really recommended.
%files
%doc README.md ReleaseNotes.txt
%doc README.md ReleaseNotes.txt doc/faq.md
%license license.txt
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop

View File

@ -220,6 +220,7 @@ INSTALL(TARGETS pianobooster RUNTIME DESTINATION bin)
if(NOT NO_DOCS)
INSTALL( FILES ../README.md DESTINATION share/doc/pianobooster/ )
INSTALL( FILES ../ReleaseNotes.txt DESTINATION share/doc/pianobooster/ )
INSTALL( FILES ../doc/faq.md DESTINATION share/doc/pianobooster/ )
endif()
if(NOT NO_LICENSE)

View File

@ -158,6 +158,7 @@ Section "Install Section"
SetOutPath $INSTDIR\doc
File FilesForRelease\README.md
File FilesForRelease\ReleaseNotes.txt
File FilesForRelease\doc\faq.md
File FilesForRelease\license.txt
File FilesForRelease\gplv3.txt
@ -180,6 +181,7 @@ Section "Install Section"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Piano Booster.lnk" "$INSTDIR\pianobooster.exe" "" "$INSTDIR\pianobooster.exe" 0
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\ReadMe.lnk" "$INSTDIR\doc\ReadMe.md" "" "$INSTDIR\doc\ReadMe.md" 0
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\ReleaseNotes.lnk" "$INSTDIR\doc\ReleaseNotes.txt" "" "$INSTDIR\doc\ReleaseNotes.txt" 0
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\FAQ.lnk" "$INSTDIR\doc\faq.md" "" "$INSTDIR\doc\faq.md" 0
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
!insertmacro MUI_STARTMENU_WRITE_END
@ -207,6 +209,7 @@ Section "Uninstall"
Delete $INSTDIR\*.*
Delete $INSTDIR\doc\README.md
Delete $INSTDIR\doc\ReleaseNotes.txt
Delete $INSTDIR\doc\faq.md
Delete $INSTDIR\doc\license.txt
Delete $INSTDIR\doc\gplv3.txt
RMDir "$INSTDIR\doc"