Rename dwm to dwm-nest
This commit is contained in:
parent
114e6ce3ce
commit
309311f7f1
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
dwm
|
||||
dwm-nest
|
||||
*.o
|
||||
compile_commands.json
|
||||
compile_commands.json
|
||||
|
12
Makefile
12
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\
|
||||
|
Loading…
Reference in New Issue
Block a user