diff --git a/ircDDBGateway/Makefile b/ircDDBGateway/Makefile index 6118f46..28589c3 100644 --- a/ircDDBGateway/Makefile +++ b/ircDDBGateway/Makefile @@ -15,7 +15,9 @@ ircddbgatewayd: $(OBJECTS) ../ircDDB/IRCDDB.a ../Common/Common.a .PHONY: install install: install -g root -o root -m 0755 ircddbgatewayd $(DESTDIR)$(BINDIR) +ifeq (,$(wildcard $(DESTDIR)$(CONFDIR)/ircddbgateway)) cp ircddbgateway-emptyconfig $(DESTDIR)$(CONFDIR)/ircddbgateway +endif ifeq ($(TARGET), opendv) cp ../debian/ircddbgatewayd.ircddbgatewayd.service $(DESTDIR)/etc/systemd/system/ircddbgatewayd.service endif