dwm

my heavily-patched and customized dwm build
git clone git://git.kocotian.pl/dwm.git
Log | Files | Refs | README | LICENSE

commit 0df581b8239d7381d518840aea177452872c205d
parent efa68778a9ecdceca57d214ca4026133147b07f4
Author: kocotian <kocotian@kocotian.pl>
Date:   Sat,  6 Feb 2021 13:57:00 +0100

buildname

Diffstat:
MMakefile | 14+++++++-------
Mconfig.mk | 5+++--
2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile @@ -26,22 +26,22 @@ dwm: ${OBJ} ${CC} -o $@ ${OBJ} ${LDFLAGS} clean: - rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz *.orig *.rej + rm -f dwm ${OBJ} dwm-${VERSION}${BUILDNAME}.tar.gz *.orig *.rej dist: clean - mkdir -p dwm-${VERSION} + mkdir -p dwm-${VERSION}${BUILDNAME} cp -R LICENSE Makefile README config.def.h config.mk\ - dwm.1 drw.h util.h ${SRC} dwm.png transient.c dwm-${VERSION} - tar -cf dwm-${VERSION}.tar dwm-${VERSION} - gzip dwm-${VERSION}.tar - rm -rf dwm-${VERSION} + dwm.1 drw.h util.h ${SRC} dwm.png transient.c dwm-${VERSION}${BUILDNAME} + tar -cf dwm-${VERSION}${BUILDNAME}.tar dwm-${VERSION}${BUILDNAME} + gzip dwm-${VERSION}${BUILDNAME}.tar + rm -rf dwm-${VERSION}${BUILDNAME} install: all mkdir -p ${DESTDIR}${PREFIX}/bin cp -f dwm ${DESTDIR}${PREFIX}/bin chmod 755 ${DESTDIR}${PREFIX}/bin/dwm mkdir -p ${DESTDIR}${MANPREFIX}/man1 - sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1 + sed "s/VERSION/${VERSION}${BUILDNAME}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1 chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1 uninstall: diff --git a/config.mk b/config.mk @@ -1,5 +1,6 @@ # dwm version VERSION = 6.2 +BUILDNAME = -kocotian # Customize below to fit your system @@ -26,13 +27,13 @@ INCS = -I${X11INC} -I${FREETYPEINC} LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb -lxcb -lxcb-res ${KVMLIB} # flags -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}${BUILDNAME}\" ${XINERAMAFLAGS} #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} LDFLAGS = ${LIBS} # Solaris -#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}${BUILDNAME}\" #LDFLAGS = ${LIBS} # compiler and linker