https://github.com/dotmpe/mkdoc
Makefile recipes for document (hypertext) building. Non-recursive use of make.
https://github.com/dotmpe/mkdoc
Last synced: 4 months ago
JSON representation
Makefile recipes for document (hypertext) building. Non-recursive use of make.
- Host: GitHub
- URL: https://github.com/dotmpe/mkdoc
- Owner: dotmpe
- Created: 2010-10-16T10:44:54.000Z (over 15 years ago)
- Default Branch: devel
- Last Pushed: 2021-02-25T02:28:32.000Z (over 5 years ago)
- Last Synced: 2025-06-29T18:52:16.141Z (11 months ago)
- Language: Makefile
- Homepage: http://dotmpe.com/project/mkdoc
- Size: 265 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
MkDoc
=====
:version: 0.0.2-test+20150804-0404
:created: Sept. 2010
:project:
.. image:: https://secure.travis-ci.org/bvberkum/mkdoc.png
:target: https://travis-ci.org/bvberkum/mkdoc
:alt: Build
:repository:
.. image:: https://badge.fury.io/gh/bvberkum%2Fmkdoc.png
:target: http://badge.fury.io/gh/bvberkum%2Fmkdoc
:alt: GIT
For project status see `Travis CI build`__, or setup in ``.travis.yml``.
.. __: https://travis-ci.org/bvberkum/mkdoc
Quickstart
----------
See::
make -f Mkdocs-full.mk help
or::
cd
ln -s /usr/local/share/mkdoc/Mkdoc-full.mk Makefile
# Put local targets and recipes in Rules.mk:
touch .Rules.mk
#touch .Rules..mk
#touch Rules.mk
- Use `Mkdoc-full.mk` to get all targets and libs, or FIXME: `Mkdoc-minimal.mk`
to get minimal libs and targets, XXX: or define your own build/test/install/...?
- Write either `Rules.*.mk` or `.Rules.*.mk`.
- Add targets to predefined vars (to use with ``make stat build test``)
- Use canned routines
- Or depend on predefined file patterns
Global vars and targets
DMK (stat)
Targets included as dynamic make definition files.
DEP (stat)
Other targets pre-requisite to stat.
SRC (stat)
Track all source files if wanted.
TRGT (build)
Build targets.
TEST (test)
Test targets.
For all lists::
make lists
Install
-------
install (or upgrade)::
./configure /usr/local && sudo ./install.sh
./configure /usr/local && sudo ./install.sh uninstall install
uninstall::
sudo ./install.sh uninstall
Test
-------
test::
CS=dark PREFIX=/usr/local make -f Makefile.mkdoc test
see `usr/share/doc/mkdoc/README.rst `_