<p dir="auto">Adds a small script that uses the library behind argparse-manpage for building a manpage in the format we need. The call to the script is now integrated into cmake, so that <code>make man</code> will build both manpages. Also consolidates installation of the man pages in the docs/CMakeLists.txt for the sake of consistency.</p>
<p dir="auto">This should fix all of the liniting issues raised in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1113021923" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/osm2pgsql/issues/1626" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/osm2pgsql/pull/1626/hovercard" href="https://github.com/openstreetmap/osm2pgsql/pull/1626">#1626</a>.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/osm2pgsql/pull/1641'>https://github.com/openstreetmap/osm2pgsql/pull/1641</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/commits/8657a4abf1f0fd68026fed3e3074df785304b6a7" class="commit-link">8657a4a</a> build osm2pgsql-replication man page via cmake</li>
<li><a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/commits/5a96746a0364d33697622d022dfaf8a7d8a13be4" class="commit-link">5a96746</a> use adapted version of argparse-manpage</li>
<li><a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/commits/103e72b8c2d10e828879de0c5240b12e427675c9" class="commit-link">103e72b</a> correctly quote single quote in manpage</li>
<li><a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/commits/7cf4268240ca2c3b63f1ef6525e1ac39cc7e942e" class="commit-link">7cf4268</a> update man page for osm2pgsql-replication</li>
<li><a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/commits/675402e7908b1e44ad4169bcce45974ecbf64acf" class="commit-link">675402e</a> adapt instructions for making the man pages</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/files">6 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a">CMakeLists.txt</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055">CONTRIBUTING.md</a>
(15)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/files#diff-5b31041ef4b51a5ffbdf42e822a8b885f6e3ac8ed6b06b3958417f50a35a8a15">docs/CMakeLists.txt</a>
(34)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/files#diff-c5414b5af83c7cc94a00a2f4b8f276bd13634e6d0bbb6ff1113d285e2327043f">docs/manpage_from_python.py</a>
(49)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/files#diff-9516f31caf2001243c025478759043af70001e52189dfbf8953ac8b715597700">docs/osm2pgsql-replication.1</a>
(41)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1641/files#diff-8cc67ac80c2424ed771d4b2afd70619beec7b2cb191693f980007cd98ac21933">scripts/osm2pgsql-replication</a>
(28)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1641.patch'>https://github.com/openstreetmap/osm2pgsql/pull/1641.patch</a></li>
<li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1641.diff'>https://github.com/openstreetmap/osm2pgsql/pull/1641.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/1641">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353QX7MRS55ZS7CD3PXTU26T6DANCNFSM5OI6FVMQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353V5ZXCBKU3NQTHX3A3U26T6DA5CNFSM5OI6FVM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4Q5TH25A.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/osm2pgsql/pull/1641</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/1641",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1641",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>