Commit Graph

19 Commits

Author SHA1 Message Date
Maxime Coste
7be22f1ec2 Fix tests for OpenBSD
Using the diff provided by @krobelus on #5173

Close #5173
2024-05-12 11:14:17 +10:00
Maxime Coste
b4a485a1e4 Fix release directory name and version file location 2024-05-09 21:01:53 +10:00
Maxime Coste
1e80c20a5d Fix MacOS shell expensions in Makefile 2024-03-31 21:42:49 +11:00
Maxime Coste
dc123e71ae Add redundant $(shell ...) in Makefile to fix builds on MacOS
MacOS uses an old GNU make that does not support the != syntax.

That syntax is not Posix (yet, it is accepted for next standard) but
we really need a way to call the shell from a Makefile. Hopefully we
can remove this soon (not holding my breath though)

Fixes #5117
2024-03-31 20:19:25 +11:00
Maxime Coste
84be263321 Re-change how compiler detection is done
Turns out GCC does not appear in many gcc version, go back to
checking `g++` and assume `c++` means `g++`

Fixes #5119
2024-03-23 21:09:27 +11:00
Maxime Coste
794e7ce51c Fix Makefile dist file generation 2024-03-22 17:30:43 +11:00
Maxime Coste
c3856ad3d9 Make src/kak a .PHONY target to always set the symlink
This ensures `make debug=yes`, `make debug=no` always update the
symlink even if the binary was already built.
2024-03-21 18:06:43 +11:00
Maxime Coste
84fc2844a1 Fix installation of doc pages 2024-03-11 20:56:36 +11:00
Maxime Coste
2b9b74091d Fix gziping man page in Makefile 2024-03-09 11:25:09 +11:00
Maxime Coste
d299a7059e Fix clang compilation by enabling sized deallocations 2024-03-08 20:19:55 +11:00
Maxime Coste
685bce4321 Re-enable debug symbols in release builds 2024-03-05 22:18:37 +11:00
Maxime Coste
e9bd708327 Merge remote-tracking branch 'arrufat/fix-kakrc-install' 2024-03-02 15:08:37 +11:00
Maxime Coste
e38becb5a1 Fix GCC detection in Makefile
When called as `c++`, gcc will not output `g++` which breaks detection,
it will have GCC in the output so look for that string instead.
2024-03-01 12:08:04 +11:00
Maxime Coste
504b074aa7 More FreeBSD Make fixes 2024-02-29 23:06:05 +11:00
Adrià Arrufat
64b3433905 fix install of kakrc 2024-02-29 20:49:50 +09:00
Maxime Coste
395dd8c73f Try to fix FreeBSD make support 2024-02-29 21:05:45 +11:00
Maxime Coste
10b6b7eb71 Rework Makefile compile type tag handling
Rename suffix to tag as it ends up not being the filename suffix,
apply that tag to .o and .d files so that changing the build type
does not wipe/reuse files from another build type.

Make .d file hidden files, this does not seem possible for the .o
files as they are targets and posix support inference rules when only
the suffix changes. This is not a big issue as Kakoune ignores those
files by default.
2024-02-29 19:53:39 +11:00
Siva Mahadevan
b05295637e build: switch to POSIX make 2024-02-27 17:31:58 -05:00
Maxime Coste
1713d1db7a Add a root directory Makefile that forwards to src/ one 2019-11-10 11:14:56 +11:00