~ruther/dwl

ref: 3a3de0c527914fc5b46bae4d9f6f47b97091c746 dwl/Makefile -rw-r--r-- 2.1 KiB
87c4c1f6 — Leonardo Hernández Hernández 2 years ago
convert some warnings to errors
31106eff — Leonardo Hernández Hernández 2 years ago
rework Makefile

- allow user to use a different pkg-config binary
- restore almost all (and add other ones) warning flags (-Werror is not set)
- $(XWAYLAND) is added to our CPPFLAGS
- remove useless comments
- don't generate idle-protocol.h (not used)
871463c3 — Leonardo Hernández Hernández 2 years ago
define _POSIX_C_SOURCE through CPPFLAGS

like dwm
6ce03530 — Leonardo Hernández Hernández 2 years ago
fix dist target
0eff78d6 — Leonardo Hernández Hernández 2 years ago
include DWLCFLAGS into linking step
Merge pull request #251 from gwnichol/fixinstall

Fix make install while files are in use
671a9b45 — Grant Nichol 2 years ago
Fix make install while files are in use

When the dwl executable is in use, cp fails without the -f flag.

POSIX defines this flag with:
> If a file descriptor for a destination file cannot be obtained,
> as described in step 3.a.ii., attempt to unlink the destination
> file and proceed.
c008bf2a — Leonardo Hernández Hernández 2 years ago
add $(LIBS) to $(LDLIBS)
c990dbd4 — Dima Krasner 2 years ago
fix link failure with --as-needed
d969289b — Leonardo Hernández Hernández 2 years ago
use LDFLAGS to build dwl target
50b6630f — Leonardo Hernández Hernández 2 years ago
do not generate *-protocol.{c,o}

according with
https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/62fbf3f4ba1b2993e29dfb46f077e5806f7aac1c
they are unused and wlroots-based compositors don't need to do this
14641560 — Leonardo Hernández Hernández 2 years ago
include xcb only when building with xwayland support
7b42232a — KawaiiAmber 2 years ago
convert makefile to be more portable
d5a741c9 — Leonardo Hernández Hernández 2 years ago
add dist target
5d8084da — Leonardo Hernández Hernández 2 years ago
add flag to print version and exit
b424602e — Leonardo Hernández Hernández 3 years ago
add DESTDIR
2d6f932e — Leonardo Hernández Hernández 3 years ago
don't let -pedantic be overridable by environment
aab397c3 — Leonardo Hernández Hernández 3 years ago
new functions ecalloc() and die()

die() replaces EBARF and BARF
and allow us to add `-pedantic` to CFLAGS
Merge pull request #180 from Humm42/manpage

add dwl(1)
add dwl(1)

Documentation is good.  Man pages are documentation.  A program without
a man page is worthless.
Next
Do not follow this link