diff --git a/.gitignore b/.gitignore index e88ad36..5c66008 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -dwm +dwm-nest *.o -compile_commands.json \ No newline at end of file +compile_commands.json diff --git a/Makefile b/Makefile index 77bcbc0..7bb7b6d 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ include config.mk SRC = drw.c dwm.c util.c OBJ = ${SRC:.c=.o} -all: options dwm +all: options dwm-nest options: @echo dwm build options: @@ -22,11 +22,11 @@ ${OBJ}: config.h config.mk config.h: cp config.def.h $@ -dwm: ${OBJ} +dwm-nest: ${OBJ} ${CC} -o $@ ${OBJ} ${LDFLAGS} clean: - rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz + rm -f dwm-nest ${OBJ} dwm-nest-${VERSION}.tar.gz dist: clean mkdir -p dwm-${VERSION} @@ -39,10 +39,10 @@ dist: clean install: all mkdir -p ${DESTDIR}${PREFIX}/bin cp -f dwm ${DESTDIR}${PREFIX}/bin - chmod 755 ${DESTDIR}${PREFIX}/bin/dwm + chmod 755 ${DESTDIR}${PREFIX}/bin/dwm-nest mkdir -p ${DESTDIR}${MANPREFIX}/man1 - sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1 - chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1 + sed "s/VERSION/${VERSION}/g" < dwm-nest.1 > ${DESTDIR}${MANPREFIX}/man1/dwm-next.1 + chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm-next.1 uninstall: rm -f ${DESTDIR}${PREFIX}/bin/dwm\ diff --git a/dwm.1 b/dwm-nest.1 similarity index 100% rename from dwm.1 rename to dwm-nest.1