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
.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