Browse Source

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

config
Anselm R. Garbe 17 years ago
parent
commit
17d39ee014
2 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Makefile
  2. +0
    -0
      config.def.h

+ 5
- 1
Makefile 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


config.h → config.def.h View File


Loading…
Cancel
Save