]> Nishi Git Mirror - tewi.git/commitdiff
generate readme
authorNishi <nishi@nishi.boats>
Wed, 25 Sep 2024 10:23:21 +0000 (10:23 +0000)
committerNishi <nishi@nishi.boats>
Wed, 25 Sep 2024 10:23:21 +0000 (10:23 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@152 8739d7e6-ffea-ec47-b151-bdff447c6205

Makefile
README
README.tmpl [new file with mode: 0644]

index 130f9ebdd290a93e93c8eef10ff383b26cf42778..2a68c3018538c8982fa471d1315111c9eb367e64 100644 (file)
--- 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 d88fafdaea4d556d20d788e10693597e2b7e62f8..bbec26e876658048efe2d26dfb2a6a9144641a9e 100644 (file)
--- 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 <nishi@nishi.boats>
 
-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 (file)
index 0000000..0258442
--- /dev/null
@@ -0,0 +1,31 @@
+
+Tewi HTTPd version @VERSION@
+
+Original by Nishi <nishi@nishi.boats>
+
+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