From: Nishi Date: Wed, 25 Sep 2024 10:23:21 +0000 (+0000) Subject: generate readme X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=899b0e29a096bd6ccc44156b9e4b8b479bf39ab0;p=tewi.git generate readme git-svn-id: file:///raid/svn-personal/tewi/trunk@152 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Makefile b/Makefile index 130f9eb..2a68c30 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,9 @@ all: ./Server ./Module ./Manpage ./Tool/genconf ./Tool/itworks ./Manpage:: $(MAKE) -C $@ $(FLAGS) +./README: ./README.tmpl + sed "s/@VERSION@/`grep "define TW_VERSION" Server/tw_version.h | grep -Eo '"[^\]+' | sed -E 's/^"//g'`/g" ./README.tmpl > $@ + install: all ./Tool/genconf ./Tool/itworks mkdir -p $(PREFIX)/bin $(PREFIX)/lib/tewi $(PREFIX)/share/man/man5 $(PREFIX)/etc $(PREFIX)/www if [ ! -e $(PREFIX)/etc/tewi.conf ]; then ( ./Tool/genconf $(PREFIX) lib/tewi so > $(PREFIX)/etc/tewi.conf || ( rm $(PREFIX)/etc/tewi.conf ; exit 1 ) ) ; fi diff --git a/README b/README index d88fafd..bbec26e 100644 --- a/README +++ b/README @@ -1,13 +1,31 @@ -Simple HTTP daemon -Put under public domain, except Server/strptime.{c,h} and Icons/*. +Tewi HTTPd version 1.06C -Original : http://svn.nishi.boats/repo/tewi -Git Mirror #1: http://git-mirror.nishi.boats/?p=tewi.git -Git Mirror #2: https://git.chaotic.ninja/YakumoLabs/tewi -Git Mirror #3: https://github.com/pnsk-lab/tewi +Original by Nishi -Installers for Windows: http://f.nishi.boats/f/g/tewi - or, GitHub releases -Website : http://nishi.boats/tewi -Trac : https://trac.nishi.boats/tewi +Distribution Contents +------------------------------- +You should have received the following with this distribution: + +LICENSE License which applies to this distribution +README This file +README This file +Makefile Top level makefile +Server/ Directory containing source code for the server +Module/ Directory containing source code for the module +Tool/ Directory containing source code for the compile time configs +Common/ Directory containing source code for the common codes +Manpage/ Directory containing manpage +Binary/ Directory containing binary stuff +Icons/ Directory containing icons for directory indexing + +Files of note; +config.h.tmpl Compile time configuration file template, copy to config.h + +Version Number Defined +-------------------------------- +1.06C +| | | +| | +- Bug fixes / security fixes +| +--- Minor features ++----- Breaking changes diff --git a/README.tmpl b/README.tmpl new file mode 100644 index 0000000..0258442 --- /dev/null +++ b/README.tmpl @@ -0,0 +1,31 @@ + +Tewi HTTPd version @VERSION@ + +Original by Nishi + +Distribution Contents +------------------------------- +You should have received the following with this distribution: + +LICENSE License which applies to this distribution +README This file +README This file +Makefile Top level makefile +Server/ Directory containing source code for the server +Module/ Directory containing source code for the module +Tool/ Directory containing source code for the compile time configs +Common/ Directory containing source code for the common codes +Manpage/ Directory containing manpage +Binary/ Directory containing binary stuff +Icons/ Directory containing icons for directory indexing + +Files of note; +config.h.tmpl Compile time configuration file template, copy to config.h + +Version Number Defined +-------------------------------- +1.06C +| | | +| | +- Bug fixes / security fixes +| +--- Minor features ++----- Breaking changes