From 20414cc3a33848ee763aad551f2fb8395228f495 Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Mon, 25 Sep 2017 22:32:06 +0200 Subject: [PATCH] Remove config.def.h and only use config.h --- .gitignore | 1 - Makefile | 12 +----------- config.def.h => config.h | 0 3 files changed, 1 insertion(+), 12 deletions(-) rename config.def.h => config.h (100%) diff --git a/.gitignore b/.gitignore index ac202f0..c3a8c84 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ dunst *.o core vgcore.* -config.h dunst.1 org.knopwob.dunst.service dunst.systemd.service diff --git a/Makefile b/Makefile index e525006..bd1d4bb 100644 --- a/Makefile +++ b/Makefile @@ -14,12 +14,7 @@ all: doc dunst service .c.o: ${CC} -o $@ -c $< ${CFLAGS} -${OBJ}: config.h config.mk - -config.h: config.def.h - @if test -s $@; then echo $< is newer than $@, merge and save $@. If you haven\'t edited $@ you can just delete it && exit 1; fi - @echo creating $@ from $< - @cp $< $@ +${OBJ}: config.mk dunst: ${OBJ} main.o ${CC} ${CFLAGS} -o $@ ${OBJ} main.o ${LDFLAGS} @@ -38,11 +33,6 @@ clean-doc: clean: clean-dunst clean-dunstify clean-doc test-clean -distclean: clean clean-config - -clean-config: - rm -f config.h - doc: docs/dunst.1 docs/dunst.1: docs/dunst.pod pod2man --name=dunst -c "Dunst Reference" --section=1 --release=${VERSION} $< > $@ diff --git a/config.def.h b/config.h similarity index 100% rename from config.def.h rename to config.h