From a1009ce70a396732ba15b15d5c959269b5d557a2 Mon Sep 17 00:00:00 2001 From: SoominIm <111330163+SoominIm@users.noreply.github.com> Date: Tue, 9 Apr 2024 18:58:13 -0400 Subject: init --- dwm/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'dwm/Makefile') 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 -- cgit v1.2.3