xbattmon

simple battery monitor for X
git clone git://git.2f30.org/xbattmon
Log | Files | Refs | README | LICENSE

commit da9f55fc9f17cdc66396fd1a3632bb61964970db
parent f3958fc326be742d5d0deb93666210d9d6026564
Author: lostd <lostd@2f30.org>
Date:   Thu,  4 Jun 2015 23:06:27 +0100

Make config independent to avoid accidental overwrites

Diffstat:
MMakefile | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -12,6 +12,9 @@ $(BIN): $(OBJ) xbattmon.o: arg.h config.h +config.h: + cp config.def.h $@ + install: all mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin @@ -24,8 +27,3 @@ uninstall: clean: rm -f $(BIN) $(OBJ) - -.SUFFIXES: .def.h - -.def.h.h: - cp $< $@