Kylie McClain
3e1a4df3fb
Makefile: Add ability to disable compressing manpage
...
Some distributions don't compress them.
2017-11-19 01:53:40 -05:00
Kylie McClain
ab390a02dc
Makefile: use PKG_CONFIG, not pkg-config
2017-11-17 23:11:06 -05:00
Maxime Coste
4fabba3d12
doc.kak: Render documentation internally instead of relying on man
...
doc.kak now behaves as a basic asciidoc renderer. Asciidoc is unfortunately
still a dependency to generate the manpage of the `kak` command.
2017-11-02 10:03:24 +08:00
Maxime Coste
ed65d86c72
Rename doc/manpages to doc/pages
...
That fact we use man for these is an implementation detail.
2017-11-01 19:05:37 +08:00
Maxime Coste
51de90f366
Regex: Remove boost related code
2017-11-01 14:09:39 +08:00
Maxime Coste
40eb598065
Makefile: Use pkg-config on Linux to get the ncurses compilation flags
...
Fixes #1659
2017-10-30 17:35:51 +11:00
Maxime Coste
420c6aca23
Change documentation directory towards $kak_runtime/doc
2017-08-03 15:00:02 +07:00
Maxime Coste
bbaa98c46d
Fix travis configuration for C++14 support
2017-07-19 08:47:14 +02:00
Maxime Coste
7a79cbbc81
Migrate code to c++14
2017-07-19 08:47:14 +02:00
Maxime Coste
4864c8cecb
Disable -Wunknown-attributes
2017-06-26 11:27:35 +01:00
Maxime Coste
0aeb2cd64f
Disable -Wnoexcept-type warning
...
We dont really care that the mangled name will change, Kakoune is
not built as a library.
Fixes #1436
2017-06-17 08:15:32 +01:00
Maxime Coste
bc92633ddd
Put the doc/manpages/ pages in the 'k' section
2017-05-27 07:35:13 +01:00
Bernhard M. Wiedemann
4788112f2d
Always link input files in the same order
...
to produce bit-identical 'kak' binaries
See https://reproducible-builds.org/ for why this is good.
This change is needed because filesystem ordering is random
and ordering matters for the g++ linker
2017-05-20 22:50:25 +02:00
Bernhard M. Wiedemann
78991c4820
do not embed timestamps in .gz files
...
using gzip -n to produce bit-identical results
and -9 to compress a bit better
2017-05-20 22:49:36 +02:00
Frank LENORMAND
ce7673b7b7
src: Fix the distclean
Makefile target
...
Have the Makefile remove the actual binaries and generated documentation
when called with the `distclean` target
2017-03-26 10:49:17 +03:00
guillaumecherel
81e7158bc1
Update Makefile
2017-03-07 14:20:09 +01:00
Maxime Coste
88752ef895
Compile optimized and debug into different files, make kak
a symlink
2017-02-27 20:11:56 +00:00
Maxime Coste
1f3abde926
Cleanup some tabby mess in the Makefile
2017-02-27 20:11:27 +00:00
Maxime Coste
565d835d57
Fix option name in haskell.kak
2017-01-29 16:10:48 +00:00
Frank LENORMAND
0b22938bce
Remove the option that excludes the -pedantic
flag from CXXFLAGS
...
Allowing compilation without the `-pedantic` flag was a temporary trick
to work around a bug involving `libstdc++` and `musl`. A fix has been
pushed for the issue in the appropriate repositories, we no longer need
the optional non-pedantic compilation option.
2017-01-14 11:55:20 +03:00
Rob Warner
48d5e5b5a9
Use PREFIX to locate ncurses and boost on macOS
2017-01-05 09:30:58 -05:00
Rob Warner
a680d419e7
Allow non-standard homebrew location for boost and ncurses linking
2017-01-04 15:38:37 -05:00
Martin Chaine
7b60ae0b5a
use explicit flags for homebrew's boost on osx
2016-12-30 19:32:18 +01:00
Maxime Coste
4d222bbb33
Add experimental static linking support to the makefile
2016-11-02 22:28:05 +00:00
Maxime Coste
e384e7263c
Use CPPFLAGS instead of CXXFLAGS for the _XOPEN_SOURCE define
2016-10-13 00:19:27 +01:00
Maxime Coste
8cc30a8ca0
Enable _XOPEN_SOURCE=700 on cygwin to get the wcwidth function
2016-10-01 13:46:55 +01:00
Frank LENORMAND
b9d21a9e9e
Add some standard GNU targets to the Makefile
...
Closes #813
2016-09-25 09:40:24 +03:00
Robert J. Ennis
7f648bcd06
Update Makefile for OSX build with homebrew ncurses
...
This adds compilation flags to include the homebrew installed ncurses 6.0 library during compilation.
2016-03-10 15:07:50 +01:00
Frank LENORMAND
d317448407
Disable interactive mode when moving documentation manpages
2016-02-18 14:53:14 +02:00
Maxime Coste
b365ee3bc3
Merge remote-tracking branch 'jjthrash/osx-asciidoc-fixes'
2016-02-11 22:09:52 +00:00
Maxime Coste
986c91a835
Support validating some options values before setting them
...
Fixes #583
2016-02-11 22:07:18 +00:00
Jimmy Thrasher
3485de717e
Remove A2X variable from Makefile since it doesn't fix the OSX homebrew problem
...
Per suggestion by @lenormf
2016-02-11 13:26:11 -05:00
Jimmy Thrasher
311d7852a6
Convert GNU sed extension into more general expression to work with BSD/OSX
2016-02-11 08:50:33 -05:00
Jimmy Thrasher
4c355488aa
Turn off xmllint for a2x.py
...
The docbook DTD is not locally available in OSX, and the a2x.py
command calls xmllint with `--nonet` so it can't fetch the DTD.
Easier to just turn off linting.
2016-02-11 08:50:06 -05:00
Maxime Coste
3030775414
Cleanup doc manpages generation
2016-02-06 00:01:42 +00:00
Frank LENORMAND
8d0988d541
Prevent unconditional generation of the man pages, fix the executable name for a2x
on Mac OS X
2016-02-04 15:10:04 +02:00
Frank LENORMAND
eb62327a4c
Rename the man page to kak
2016-02-04 12:58:59 +02:00
Frank LENORMAND
9d6d2b767f
Properly install the man page when using a custom prefix
2016-02-04 11:58:18 +02:00
Frank LENORMAND
80f7a350e4
Fix the installation of documentation pages
2016-02-04 11:46:12 +02:00
Maxime Coste
eb99c0f39e
Merge remote-tracking branch 'occivink/master'
2016-02-04 09:30:25 +00:00
O. Perret
92ddbac1e8
Adapt 'make install' to rc/ reorganization
2016-02-03 23:31:35 +01:00
Frank LENORMAND
985b7a188a
Generate the documentation pages in the troff format
...
This commit introduces the `doc` target in the Makefile, which
generates man pages from the `asciidoc`-formatted documentation in the
`doc/manpages` directory.
Before being installed into the `$(sharedir)/doc` directory, the
generated raw man pages have to be striped of a few sections without
which `a2x` won't convert the `asciidoc` data: the shady block of shell
script in the `doc` target does just that, along with compressing the
resulting man page.
New dependency hereby introduced: `asciidoc`.
2016-02-03 21:09:41 +02:00
Frank LENORMAND
b6e930a57d
Migrate the raw troff kakoune
man page to the asciidoc format
2016-02-03 14:51:32 +02:00
Frank LENORMAND
043f742ec3
Add a basic man page
2016-02-02 21:13:25 +02:00
Enrico Lumetti
f9d1ef830f
Remove deprecated userconfig rule
2015-12-12 01:00:32 +01:00
Kylie McClain
77ba471020
Makefile: Allow for passing include/ncursesw path
2015-11-19 20:09:24 -05:00
Kylie McClain
1ed66e9b6a
Fix building with musl libc
2015-11-19 20:23:55 +00:00
Maxime Coste
2ce0a5a8a8
Merge https://github.com/alpha123/kakoune
2015-11-04 19:49:21 +00:00
alpha123
97c92368bc
Build on FreeBSD
2015-11-03 11:51:27 -07:00
sinetek
4b8c03afe6
Adding support for DragonFlyBSD.
2015-11-03 01:14:34 +07:00