commit 05f8319

dalem  ·  2026-02-02 22:07:24 +0000 UTC
parent fdba2f3
Add an install block in Makefile and add a README

- added an option to install the library + swcsnap in the g2b converted Makefile
- added a simple README.md file and renamed original README.md file to README.original
4 files changed,  +31, -26
+1, -25
 1@@ -1,26 +1,2 @@
 2 *.o
 3-*.lo
 4-.*.sw*
 5-
 6-protocol/server-decoration-protocol.c
 7-protocol/server-decoration-server-protocol.h
 8-protocol/swc-protocol.c
 9-protocol/swc-server-protocol.h
10-protocol/wayland-drm-protocol.c
11-protocol/wayland-drm-server-protocol.h
12-protocol/xdg-decoration-unstable-v1-protocol.c
13-protocol/xdg-decoration-unstable-v1-server-protocol.h
14-protocol/xdg-shell-protocol.c
15-protocol/xdg-shell-server-protocol.h
16-protocol/linux-dmabuf-unstable-v1-protocol.c
17-protocol/linux-dmabuf-unstable-v1-server-protocol.h
18-
19-/.deps/
20-/swc.pc
21-/libswc/libswc.a
22-/libswc/libswc.so*
23-/launch/swc-launch
24-/cursor/convert_font
25-/cursor/cursor_data.h
26-/example/wm
27-
28+*.a
+12, -1
 1@@ -242,10 +242,21 @@ swc.pc: swc.pc.in
 2 	     -e 's:@REQUIRES_PRIVATE@::' \
 3 	     ${.ALLSRC} > ${.TARGET}
 4 
 5-.PHONY: all build clean
 6+.PHONY: all build clean install
 7 all: build
 8 build: libswc/libswc.a launch/swc-launch cursor/cursor_data.h swc.pc
 9 
10+install: build
11+	install -d ${DESTDIR}${BINDIR}
12+	install -d ${DESTDIR}${LIBDIR}
13+	install -d ${DESTDIR}${INCLUDEDIR}
14+	install -d ${DESTDIR}${PKGCONFIGDIR}
15+	install -m 755 launch/swc-launch ${DESTDIR}${BINDIR}/
16+	install -m 644 libswc/libswc.a ${DESTDIR}${LIBDIR}/
17+	install -m 644 libswc/swc.h ${DESTDIR}${INCLUDEDIR}/
18+	install -m 644 ${PROTO_GEN_H} ${DESTDIR}${INCLUDEDIR}/
19+	install -m 644 swc.pc ${DESTDIR}${PKGCONFIGDIR}/
20+
21 clean:
22 	rm -f swc.pc \
23 	      ${PROTO_GEN_C} ${PROTO_GEN_H} \
R README.md => README.original
+0, -0
+18, -0
 1@@ -0,0 +1,18 @@
 2+neuswc
 3+------
 4+
 5+neuswc is a fork of [swc](https://github.com/michaelforney/swc/) for [hevel window manager](hevel.derivelinux.org).
 6+
 7+It introduces bunch of new features.
 8+
 9+features
10+--------
11+
12+- z axis ordering
13+- more cursor functions
14+- zooming
15+- experimental subsurface support
16+- fullscreen
17+- double window borders
18+- wallpapers
19+- probably more i forgot about