Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
dssp
Commits
7a944b07
Unverified
Commit
7a944b07
authored
Jun 13, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
markdown is not very trivial, and pandoc does not handle it correctly
parent
2f352826
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
CMakeLists.txt
+5
-1
doc/mkdssp.md
+1
-1
doc/mkdssp.pdf
+0
-0
No files found.
CMakeLists.txt
View file @
7a944b07
...
...
@@ -215,9 +215,13 @@ install(TARGETS ${PROJECT_NAME}
find_program
(
PANDOC pandoc
)
if
(
PANDOC
)
file
(
GENERATE OUTPUT
${
PROJECT_BINARY_DIR
}
/pandoc-md.sh
CONTENT
"
${
PANDOC
}
${
PROJECT_SOURCE_DIR
}
/doc/mkdssp.1 -t markdown | sed -e
\"
s/
\\\\\\
'
\\\\\\
' (space)/ ' ' (space)/
\"
>
${
PROJECT_SOURCE_DIR
}
/doc/mkdssp.md"
FILE_PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
)
add_custom_command
(
OUTPUT
${
PROJECT_SOURCE_DIR
}
/doc/mkdssp.md
DEPENDS
${
PROJECT_SOURCE_DIR
}
/doc/mkdssp.1
COMMAND
${
PANDOC
}
-o mkdssp.md mkdssp.1
COMMAND
"
${
PROJECT_BINARY_DIR
}
/pandoc-md.sh"
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
/doc/
VERBATIM
)
...
...
doc/mkdssp.md
View file @
7a944b07
...
...
@@ -92,7 +92,7 @@ calculated for H-bonds.\
P HELX
\_
LH
\_
PP
\_
P Helix
\_
PPII
T TURN
\_
TY1
\_
P Turn
S BEND Bend
\'
\
'
(space) OTHER Loop
'
' (space) OTHER Loop
--------------- ----------------- -------------
BUGS
...
...
doc/mkdssp.pdf
View file @
7a944b07
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment