Update repository URLs

git-svn-id: file:///srv/svn/repo/aya/trunk@91 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
yakumo.izuru
2025-05-15 01:25:32 +00:00
parent 9307af7e09
commit 28ce3606b9
3 changed files with 13 additions and 10 deletions

View File

@@ -2,19 +2,22 @@ DESTDIR ?=
GO ?= go GO ?= go
GOFLAGS ?= -v -buildvcs=false -buildmode=exe -ldflags "-w -X `${GO} list`.Date=${DATE} -X `${GO} list`.Vendor=${GOOS} -X `${GO} list`.Version=${VERSION}" GOFLAGS ?= -v -buildvcs=false -buildmode=exe -ldflags "-w -X `${GO} list`.Date=${DATE} -X `${GO} list`.Vendor=${GOOS} -X `${GO} list`.Version=${VERSION}"
PREFIX ?= /usr/local PREFIX ?= /usr/local
BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/man
DATE ?= `date -u +%F` DATE ?= `date -u +%F`
GOOS ?= `${GO} env GOOS` GOOS ?= `${GO} env GOOS`
VERSION ?= 1.0F+${REV} VERSION ?= 1.0G+${REV}
REV ?= `svn info --show-item revision || git rev-list --all | wc -l` REV ?= `svn info --show-item revision || git rev-list --all | wc -l`
build: build:
${GO} build ${GOFLAGS} ./cmd/aya ${GO} build ${GOFLAGS} ./cmd/aya
clean: clean:
rm -f aya rm -f aya
dist: pre-install:
git archive --format=tar.gz --output=aya-${VERSION}.tar.gz HEAD mkdir -p ${DESTDIR}${BINDIR}
mkdir -p ${DESTDIR}${MANDIR}/man1
install: install:
install -Dm0755 aya ${DESTDIR}${PREFIX}/bin/aya install -m0755 aya ${DESTDIR}${BINDIR}
install -Dm0644 aya.1 ${DESTDIR}${PREFIX}/share/man/man1/aya.1 install -m0644 aya.1 ${DESTDIR}${MANDIR}/man1
uninstall: uninstall:
rm -f ${PREFIX}/bin/aya rm -f ${DESTDIR}${BINDIR}/aya
rm -f ${PREFIX}/share/man/man1/aya.1 rm -f ${DESTDIR}${MANDIR}/man1/aya.1

View File

@@ -19,7 +19,7 @@ Build it manually provided you have Go (>=1.17) installed:
$ go install mahou-no-mori.yakumo.dev/aya/cmd/aya@latest (1) $ go install mahou-no-mori.yakumo.dev/aya/cmd/aya@latest (1)
--- or --- --- or ---
$ git clone https://git.yakumo.dev/yakumo.izuru/aya $ git clone https://git.mentality.rip/novaburst/aya
$ cd aya $ cd aya
$ make $ make
# make install # make install

View File

@@ -7,8 +7,8 @@ import (
// This function is called by the `aya help` subcommand // This function is called by the `aya help` subcommand
func PrintUsage() { func PrintUsage() {
fmt.Printf("aya/%v\n", PrintFullVersion()) fmt.Printf("aya/%v\n", PrintFullVersion())
fmt.Println("Homepage: https://suzunaan.yakumo.dev/aya/") fmt.Println("Homepage: https://suzunaan.yakumo.dev/aya")
fmt.Println("Repository: https://svn.yakumo.dev/yakumo.izuru/aya") fmt.Println("Repository: https://svn.yakumo.dev/repo/aya")
fmt.Println("==") fmt.Println("==")
fmt.Println("build [file] · (Re)build a site or a file in particular") fmt.Println("build [file] · (Re)build a site or a file in particular")
fmt.Println("clean · Remove the generated .pub directory") fmt.Println("clean · Remove the generated .pub directory")