X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=31ae1c1020cfbd5def5f34e56a68a3ec5c1ce9ea;hb=4cdbd523e5f02f7cf392dda8690f95ce6eaff9dd;hp=d3fc989a8659ab3b1c647c1f9a614546b1c212c4;hpb=82064af2d7076045980c694241cf0326aea7e7e2;p=dwm.git diff --git a/Makefile b/Makefile index d3fc989..31ae1c1 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,12 @@ # dwm - dynamic window manager -# (C)opyright MMVI Anselm R. Garbe +# (C)opyright MMVI-MMVII Anselm R. Garbe include config.mk -SRC = client.c draw.c event.c main.c tag.c util.c +SRC = client.c draw.c event.c main.c manage.c util.c OBJ = ${SRC:.c=.o} all: options dwm - @echo finished options: @echo dwm build options: @@ -19,14 +18,14 @@ options: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: dwm.h config.h +${OBJ}: dwm.h config.h config.mk config.h: @echo creating $@ from config.default.h @cp config.default.h $@ dwm: ${OBJ} - @echo LD $@ + @echo CC -o $@ @${CC} -o $@ ${OBJ} ${LDFLAGS} @strip $@ @@ -50,7 +49,7 @@ install: all @chmod 755 ${DESTDIR}${PREFIX}/bin/dwm @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 @mkdir -p ${DESTDIR}${MANPREFIX}/man1 - @cp -f dwm.1 ${DESTDIR}${MANPREFIX}/man1 + @sed 's/VERSION/${VERSION}/g' < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1 @chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1 uninstall: