Rename dwm to dwm-nest

This commit is contained in:
pgrondek 2020-08-08 19:54:44 +02:00
parent 114e6ce3ce
commit 309311f7f1
3 changed files with 8 additions and 8 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
dwm
dwm-nest
*.o
compile_commands.json

View File

@ -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\

View File