]> Git repositories of Nishi - tewi.git/commitdiff
fix path
authorNishi <nishi@nishi.boats>
Mon, 23 Sep 2024 18:18:27 +0000 (18:18 +0000)
committerNishi <nishi@nishi.boats>
Mon, 23 Sep 2024 18:18:27 +0000 (18:18 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@145 8739d7e6-ffea-ec47-b151-bdff447c6205

Makefile
Manpage/Makefile
Manpage/tewi.8.tmpl [moved from Manpage/tewi.conf.5.tmpl with 100% similarity]

index 45d00eb2807df37a95be79d3a6b3816e16ae0cfe..77b27c1a0210af7115db6240ab03c31d875982f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ install: all ./Tool/genconf ./Tool/itworks
        if [ ! -e $(PREFIX)/www/pbtewi.gif ]; then ( cp Binary/pbtewi.gif $(PREFIX)/www/ || ( rm $(PREFIX)/www/pbtewi.gif ; exit 1 ) ) ; fi
        cp ./Server/tewi $(PREFIX)/bin/
        cp ./Module/*.so $(PREFIX)/lib/tewi/
-       cp ./Manpage/tewi.conf.5 $(PREFIX)/share/man/man5/
+       cp ./Manpage/tewi.8 $(PREFIX)/share/man/man8/
 
 format:
        clang-format --verbose -i `find ./Server ./Common ./Module ./Tool "(" -name "*.c" -or -name "*.h" ")" -and -not -name "strptime.*"` config.h
index 51f0bfc9859f3d8be5728f5a1a5b376269834d76..34dbb5f710398f4f8a73724b130e05e497356efc 100644 (file)
@@ -2,10 +2,10 @@
 
 .PHONY: all clean
 
-all: tewi.conf.5
+all: tewi.8
 
-tewi.conf.5: tewi.conf.5.tmpl
-       sed "s%@PREFIX@%$(PREFIX)%g" tewi.conf.5.tmpl > $@ || rm -f $@
+tewi.8: tewi.8.tmpl
+       sed "s%@PREFIX@%$(PREFIX)%g" tewi.8.tmpl > $@ || rm -f $@
 
 clean:
-       rm -f tewi.conf.5
+       rm -f tewi.8
similarity index 100%
rename from Manpage/tewi.conf.5.tmpl
rename to Manpage/tewi.8.tmpl