Remove config.def.h and only use config.h
This commit is contained in:
parent
7965fd3e9f
commit
20414cc3a3
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,7 +2,6 @@ dunst
|
||||
*.o
|
||||
core
|
||||
vgcore.*
|
||||
config.h
|
||||
dunst.1
|
||||
org.knopwob.dunst.service
|
||||
dunst.systemd.service
|
||||
|
12
Makefile
12
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} $< > $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user