forked from way-cooler/way-cooler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
44 lines (32 loc) · 758 Bytes
/
makefile
File metadata and controls
44 lines (32 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
default: build
# Debug build options
awesome:
cargo build --package awesome
way_cooler:
cargo build --package way-cooler
build:
cargo build --all
run: build
sleep .1 && WAYLAND_DISPLAY=wayland-1 ./target/debug/awesome &
trap 'kill %1' SIGINT
./target/debug/way-cooler
# Release build options
awesome_release:
cargo build --release --package awesome
way_cooler_release:
cargo build --release --package way-cooler
release:
cargo build --all --release
run_release: release
sleep .1 && WAYLAND_DISPLAY=wayland-1 ./target/release/awesome &
trap 'kill %1' SIGINT
./target/release/way-cooler
# Docs
man:
./makedocs.sh -m manpages target/man
html:
./makedocs.sh -h manpages target/html
docs: man html
# Tests
test: build
./test_wayland.sh