aboutsummaryrefslogtreecommitdiff
path: root/.repos/dwm/Makefile
diff options
context:
space:
mode:
authorMarvin Borner2022-03-28 12:32:51 +0200
committerMarvin Borner2022-03-28 12:32:51 +0200
commit272cc6e941d798d7270fcf74a98f592ef06e14ac (patch)
treeca50baf1a496ab52072bd4fc0e12c4914824b568 /.repos/dwm/Makefile
parentba95f4990581cd3977a8647d829896f23e3f1e05 (diff)
sync
Diffstat (limited to '.repos/dwm/Makefile')
-rw-r--r--.repos/dwm/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/.repos/dwm/Makefile b/.repos/dwm/Makefile
index d40c2fc..77bcbc0 100644
--- a/.repos/dwm/Makefile
+++ b/.repos/dwm/Makefile
@@ -19,16 +19,19 @@ options:
${OBJ}: config.h config.mk
+config.h:
+ cp config.def.h $@
+
dwm: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
- rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz *.orig *.rej
+ rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz
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,7 +43,6 @@ install: all
mkdir -p ${DESTDIR}${MANPREFIX}/man1
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
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\