Commit graph

151 commits

Author SHA1 Message Date
evilham 67bcc6cae3 Improve Makefile compatibility and build docs
We now use `$(MAKE)` for subsequent calls to `make`.
This means that systems that do not default to GNU make can run `gmake man` and
produce the man pages.

While there also document a dependency on the rtd theme for sphinx.
2021-07-24 02:37:58 +02:00
Darko Poljak c053a2c4a0 Fix building man pages
Resolves #830.
2020-07-29 11:31:12 +02:00
Darko Poljak 71b6646b38 Rm cdist-type prefix and man page ref from docs
E.g.

16.10. __block
16.11. __ccollect_source
16.12. __cdist
16.13. __cdistmarker
16.14. __check_messages

insted of

16.10. cdist-type__block(7)
16.11. cdist-type__ccollect_source(7)
16.12. cdist-type__cdist(7)
16.13. cdist-type__cdistmarker(7)
16.14. cdist-type__check_messages(7)
2019-12-06 10:00:32 +01:00
Darko Poljak 90e85d8128 Embed config skeleton instead of rewriting it
Resolves #796.
2019-12-06 09:37:21 +01:00
Darko Poljak 5c11c15ae4 Overcome bash CDPATH issue
Thanks to Dmitry Bogatov.
2019-06-23 20:00:25 +02:00
Darko Poljak 4f40c6ac65 Re-arrange Makefile and build-helper script
Maintainers should use build-helper script.
End users should use Makefile, which contains targets
that can be run on pure source (without git repository).
2019-05-08 22:34:03 +02:00
Darko Poljak 249ac917d3 Changes due to new website 2019-05-03 22:18:19 +02:00
Darko Poljak d11ac7dda4 Rename debug-dump.sh to cdist-dump 2019-04-11 13:56:03 +02:00
Darko Poljak 671bb82a46 Fix shellcheck issues 2019-04-09 22:44:40 +02:00
Darko Poljak 689f37acf6 Migrate from pep8 to pycodestyle 2019-02-15 21:05:26 +01:00
Darko Poljak ab8f87864e Add shellcheck-ing for type explorers and auxiliary files. 2018-10-07 19:09:14 +02:00
Darko Poljak 3be1c4ad6f If nothing found shellcheck targets should succeed. 2018-10-07 10:21:08 +02:00
Darko Poljak 140518f1b0 Add comment for SHELLCHECK_SKIP. 2018-10-06 15:56:55 +02:00
Darko Poljak 8436f872a9 Add shellcheck makefile target. shellcheck when doing release. 2018-10-06 15:56:55 +02:00
Darko Poljak e551348cd7 Create man7 directory if needed. 2018-09-29 11:15:48 +02:00
Darko Poljak 5090038e4c Add test-remote target - remote is not tested with test target 2018-03-09 10:00:14 +01:00
Darko Poljak e9f8cb6f49 Install using distutils from cloned repo. 2017-08-28 18:01:00 +02:00
Darko Poljak ca3644a08a Add pep8 target. 2016-07-23 16:00:07 +02:00
Darko Poljak 8571192aa5 Clean stuff after signing release. 2016-07-16 00:51:37 +02:00
Darko Poljak ccbb9697eb Clean sphinx docs before building. 2016-07-16 00:50:01 +02:00
Darko Poljak e76d06b382 Fix docs-dist target. 2016-07-04 16:56:07 +02:00
Darko Poljak 4dac520d98 Implement make targets: man, html, docs. 2016-07-04 12:21:01 +02:00
Darko Poljak 0d64d6a5b6 docs/man -> docs/src and update Makefile and build-helper. 2016-06-30 15:13:21 +02:00
Darko Poljak b04ab0b630 Fix Makefile for new sphinx build. 2016-06-30 12:28:14 +02:00
Darko Poljak 51c94e9e82 Restructure and fix and improve docs and manpages. 2016-06-29 07:48:34 +02:00
Darko Poljak 7a9a04592b Fix Makefile for dotman target. 2016-06-25 19:30:22 +02:00
Darko Poljak b89077f9a5 Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory. 2016-06-23 16:08:59 +02:00
Darko Poljak cf32b669ff Write sphinx rst docs. 2016-05-22 17:16:03 +02:00
Darko Poljak f63e8ed2b9 For BSD sed variant -i suffix is required. 2016-05-04 12:23:19 +02:00
Darko Poljak 15f7fd039a Make sed invocation to not be GNU specific. 2016-05-04 12:06:19 +02:00
Nico Schottelius 416eb300c0 update path to website
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
2015-05-18 14:41:34 +02:00
Nico Schottelius 3db2dcb2d6 fix release errors of 3.1.10
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-02-10 23:10:23 +01:00
Nico Schottelius 8b045da7a9 github is now origin
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2014-12-25 00:04:21 +01:00
Nico Schottelius 896e887511 use mkaurball instead of makepkg
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2014-09-29 21:26:07 +02:00
Nico Schottelius ec607d65fe remove freecode support
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-08-18 23:39:32 +02:00
tpo 5f147dd845 fix sed pattern
* don't add a href to the title tag (3rd line in the html document)
* replace multiple instances on a line
2014-04-30 20:45:05 +02:00
tpo 454f955d25 fix error 2014-04-30 16:53:32 +02:00
tpo e6b26829f4 crosslink html man pages
This is using sed --in-place, which might not be available in
all sed versions. If that's a concern, then please replace with
awk script or move to build-helper and use temporary files.

Also the regex is a heuristic. It works for our man pages here
but it might have false positive matches in the future.
2014-04-30 16:38:40 +02:00
Nico Schottelius 3a2bd673c9 enhance build scripts for releasing from non-master branch
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-02-14 20:58:12 +01:00
Nico Schottelius 13001924c0 do not touch a visible file during release process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 10:52:28 +01:00
Nico Schottelius 295a8a404d more cleanups for the release process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 13:19:47 +02:00
Nico Schottelius e1fa588a4d clean should clean better
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 12:57:52 +02:00
Nico Schottelius c074d377aa seperate check-% and release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 22:59:46 +02:00
Nico Schottelius c68c11dce1 cleanup the release process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 22:58:52 +02:00
Nico Schottelius dc2b37cec1 release in Makefile is cumbersome, use shell
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 22:33:26 +02:00
Nico Schottelius 7646375218 plan next release for ... today
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 21:20:05 +02:00
Nico Schottelius 3b9b0dde56 require branch merge to happen before pypi
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 16:22:20 +02:00
Nico Schottelius 8192c2cbfc back to old release process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:37:05 +02:00
Nico Schottelius 71f01ca735 improve release process (not yet perfect)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 21:26:14 +02:00
Nico Schottelius c3e6eaffcd cleanup the cleanup targets
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 19:41:38 +02:00