renamed config.h into config.def.h, config.h will be created if not present, this seems less annoying after all

new_dwm
Anselm R. Garbe 17 years ago
parent 8d1810c85b
commit 17d39ee014

@ -20,6 +20,10 @@ options:
${OBJ}: config.h config.mk ${OBJ}: config.h config.mk
config.h:
echo creating $@ from config.def.h
cp config.def.h $@
dwm: ${OBJ} dwm: ${OBJ}
@echo CC -o $@ @echo CC -o $@
@${CC} -o $@ ${OBJ} ${LDFLAGS} @${CC} -o $@ ${OBJ} ${LDFLAGS}
@ -31,7 +35,7 @@ clean:
dist: clean dist: clean
@echo creating dist tarball @echo creating dist tarball
@mkdir -p dwm-${VERSION} @mkdir -p dwm-${VERSION}
@cp -R LICENSE Makefile README config.h config.mk \ @cp -R LICENSE Makefile README config.def.h config.mk \
dwm.1 ${SRC} dwm-${VERSION} dwm.1 ${SRC} dwm-${VERSION}
@tar -cf dwm-${VERSION}.tar dwm-${VERSION} @tar -cf dwm-${VERSION}.tar dwm-${VERSION}
@gzip dwm-${VERSION}.tar @gzip dwm-${VERSION}.tar

Loading…
Cancel
Save