Commit Graph

39 Commits (829dec659875d19db08bb4e4334cecb087895fda)

Author SHA1 Message Date
Grant Nichol 671a9b450b
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.
2022-06-12 15:58:38 -05:00
Leonardo Hernández Hernández c008bf2a7d
add $(LIBS) to $(LDLIBS) 2022-06-10 12:21:23 -05:00
Dima Krasner c990dbd441 fix link failure with --as-needed 2022-06-10 19:26:45 +03:00
Leonardo Hernández Hernández d969289baf
use LDFLAGS to build dwl target 2022-06-06 23:36:45 -05:00
Leonardo Hernández Hernández 50b6630f3d
do not generate *-protocol.{c,o}
according with
62fbf3f4ba
they are unused and wlroots-based compositors don't need to do this
2022-06-06 22:54:40 -05:00
Leonardo Hernández Hernández 14641560b0
include xcb only when building with xwayland support 2022-06-06 22:53:36 -05:00
KawaiiAmber 7b42232ad1
convert makefile to be more portable 2022-06-06 22:53:36 -05:00
Leonardo Hernández Hernández d5a741c9b4
add dist target 2022-05-09 16:25:03 -05:00
Leonardo Hernández Hernández 5d8084daa7
add flag to print version and exit 2022-05-09 16:24:36 -05:00
Leonardo Hernández Hernández b424602ebc
add DESTDIR 2022-03-31 09:43:56 -06:00
Leonardo Hernández Hernández 2d6f932ecf
don't let -pedantic be overridable by environment 2022-03-31 09:21:27 -06:00
Leonardo Hernández Hernández aab397c30b
new functions ecalloc() and die()
die() replaces EBARF and BARF
and allow us to add `-pedantic` to CFLAGS
2022-03-28 15:02:09 -06:00
Humm 0c4740b277 add dwl(1)
Documentation is good.  Man pages are documentation.  A program without
a man page is worthless.
2022-03-13 00:46:24 +01:00
Jason Goulet-Lipman d57db4cac9 added uninstall target 2021-04-19 09:05:35 -04:00
Devin J. Pohly 4170a90fbc group phony targets together in Makefile 2021-04-15 13:04:31 -05:00
Devin J. Pohly 6a0dec69ec re-compile if config.mk changes 2021-04-15 13:03:21 -05:00
Devin J. Pohly 43f1076833 remember to add client.h in Makefile 2021-01-18 14:16:24 -06:00
Devin J. Pohly 2230f92ef0 add "all" target 2020-12-25 12:07:43 -05:00
Devin J. Pohly 206427537a Merge updates from guidocella
Thanks so much for helping to keep the project running while life was
crazy!
2020-12-24 21:56:41 -05:00
Devin J. Pohly 62529e251d
Merge pull request #49 from guidocella/layer-shell
Layer shell
2020-12-24 20:24:14 -05:00
Devin J. Pohly 41d7fdbd60 use the install command to install 2020-12-24 19:07:38 -05:00
Devin J. Pohly 8dd99d2a10
Merge pull request #65 from Keating950/master
Add install target to Makefile
2020-12-24 19:07:08 -05:00
Guido Cella 0b2f4f213d remove -Werror=declaration-after-statement
wtf is the point of this crap? It makes the code harder to follow,
increases the line count and made me fail compilation a million times.
We shouldn't blindy follow everything about suckless's style.
2020-12-19 19:52:28 +01:00
Keating950 05883b7b2f add install target to Makefile and corresponding prefix variable to config.mk 2020-12-19 18:45:49 +01:00
will 4f1e557d3d Added basic tap-to-click for touchpad users 2020-12-19 18:37:10 +01:00
Guido Cella 41cc23e1cf Implement the idle protocol
It allows clients such as swayidle and chat applications to monitor user
idle time.
2020-12-19 12:34:32 +01:00
Keating950 9578816487
add install target to Makefile and corresponding prefix variable to config.mk 2020-11-22 12:58:49 -05:00
will 598516d808 Added basic tap-to-click for touchpad users 2020-10-17 13:52:53 +02:00
Guido Cella b237ea0e45 simplify make clean 2020-08-28 15:17:38 +02:00
Guido Cella d61658bdd7 update make clean 2020-08-26 21:05:44 +02:00
Guido Cella 05df9201b3 layer shell initial attempt 2020-08-24 07:04:34 +02:00
Devin J. Pohly e3e9504fcd make XWayland support optional 2020-08-10 12:50:56 -05:00
Alexander Courtis c4cf78aadb xwayland: unmanaged (dropdown menu) support 2020-07-25 11:29:02 -04:00
Devin J. Pohly a224f26469 warn but don't error on unused function 2020-07-24 17:10:32 -04:00
Devin J. Pohly ecdd012f6b sacrifice 24 lines to suckless style :) 2020-05-02 15:21:36 -05:00
Devin J. Pohly 488929fef6 turn on some warnings 2020-04-22 22:34:11 -05:00
Devin J. Pohly 02c0c676ad move config.h to config.def.h 2020-04-22 22:34:11 -05:00
Devin J. Pohly bbe24fa8d4 make Makefile a bit more my style 2020-04-11 20:17:20 -05:00
Devin J. Pohly 94d82bf42f Start with tinywl
Add a config.h into which configurables can be moved.
2020-04-11 17:27:19 -05:00