./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
-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
--- /dev/null
+
+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