diff options
Diffstat (limited to 'dwm/Makefile')
| -rw-r--r-- | dwm/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dwm/Makefile b/dwm/Makefile index 7e4b1f5..924ef09 100644 --- a/dwm/Makefile +++ b/dwm/Makefile @@ -19,6 +19,9 @@ options: ${OBJ}: config.h config.mk +config.h: + cp config.def.h $@ + dwm: ${OBJ} ${CC} -o $@ ${OBJ} ${LDFLAGS} @@ -27,8 +30,8 @@ clean: dist: clean mkdir -p dwm-${VERSION} - cp -R LICENSE Makefile README config.mk\ - dwm.1 drw.h util.h ${SRC} transient.c dwm-${VERSION} + 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} @@ -40,11 +43,11 @@ install: all sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1 chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1 mkdir -p ${DESTDIR}${PREFIX}/share/dwm - install -Dm644 ./thesiah.mom ${DESTDIR}${PREFIX}/share/man/thesiah + install -Dm644 ./thesiah.mom ${DESTDIR}${PREFIX}/share/dwm uninstall: rm -f ${DESTDIR}${PREFIX}/bin/dwm\ - ${DESTDIR}${PREFIX}/share/man/thesiah/thesiah.mom\ + ${DESTDIR}${PREFIX}/share/dwm/thesiah.mom\ ${DESTDIR}${MANPREFIX}/man1/dwm.1 .PHONY: all options clean dist install uninstall |
