dev: move contrib/znc-import.go to cmd/soju-znc-import

git-svn-id: file:///srv/svn/repo/suika/trunk@800 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
koizumi.aoi 2023-03-21 02:29:26 +00:00
parent 5a4d2f9132
commit 730917adc3
2 changed files with 4 additions and 3 deletions

View File

@ -12,9 +12,10 @@ soju:
$(GO) build $(GOFLAGS) ./cmd/soju
sojuctl:
$(GO) build $(GOFLAGS) ./cmd/sojuctl
soju-znc-import:
$(GO) build $(GOFLAGS) ./cmd/soju-znc-import
doc/soju.1: doc/soju.1.scd
$(SCDOC) <doc/soju.1.scd >doc/soju.1
clean:
$(RM) -f soju sojuctl doc/soju.1
install:
@ -26,4 +27,4 @@ install:
cp -f doc/soju.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
[ -f $(DESTDIR)/etc/soju/config ] || cp -f config.in $(DESTDIR)/etc/soju/config
.PHONY: soju sojuctl clean install
.PHONY: soju sojuctl soju-znc-import clean install

View File

@ -16,7 +16,7 @@ import (
"git.chaotic.ninja/koizumi.aoi/soju-retro/config"
)
const usage = `usage: znc-import [options...] <znc config path>
const usage = `usage: soju-znc-import [options...] <znc config path>
Imports configuration from a ZNC file. Users and networks are merged if they
already exist in the soju database. ZNC settings overwrite existing soju