diff --git a/Makefile b/Makefile index 13da5e4..79face4 100644 --- a/Makefile +++ b/Makefile @@ -23,5 +23,8 @@ clean: install: all mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR) mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 + mkdir -p $(DESTDIR)/etc/soju + mkdir -p $(DESTDIR)/var/lib/soju cp -f soju sojuctl $(DESTDIR)$(PREFIX)/$(BINDIR) cp -f doc/soju.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 + cp -f config.in $(DESTDIR)/etc/soju/config diff --git a/config.in b/config.in new file mode 100644 index 0000000..c24c734 --- /dev/null +++ b/config.in @@ -0,0 +1,2 @@ +sql sqlite3 /var/lib/soju/main.db +log /var/lib/soju/logs/