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

This commit is contained in:
Anselm R. Garbe 2007-09-23 11:24:12 +02:00
parent 8d1810c85b
commit 17d39ee014
2 changed files with 5 additions and 1 deletions

View File

@ -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