From: Andre Noll Date: Mon, 15 Jun 2020 23:39:18 +0000 (+0200) Subject: web: Don't duplicate the html header. X-Git-Tag: v0.2.0~2^2~4 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=f497ad60e2191188f6bef05d022a07d17c65a357;p=osl.git web: Don't duplicate the html header. Now that all web pages are in a single directory, we can get rid of some duplication by using header.html also to create index.html. --- diff --git a/Makefile b/Makefile index 7f598d5..fb8a01d 100644 --- a/Makefile +++ b/Makefile @@ -150,8 +150,9 @@ www: web/index.html web/osl.png web/api.html web/osl.png: web/osl.pdf Makefile convert -scale 200x200 $< $@ -web/index.html: oslfsck.1 web/index.html.in INSTALL README QUICK_START - sed -e '/@README@/,$$d' web/index.html.in > $@ +web/index.html: oslfsck.1 web/header.html web/index.html.in INSTALL README QUICK_START + cat web/header.html > $@ + sed -e '/@README@/,$$d' web/index.html.in >> $@ markdown < README >> $@ sed -e '1,/@README@/d' -e '/@INSTALL@/,$$d' web/index.html.in >> $@ markdown < INSTALL >> $@ diff --git a/web/index.html.in b/web/index.html.in index addc4f4..edd7745 100644 --- a/web/index.html.in +++ b/web/index.html.in @@ -1,37 +1,3 @@ - - - - - OSL - The object storage layer library - - - - - - - - - -
- osl logo - -

The lightweight storage library

-
- -
- - [README] - [Download] - [INSTALL] - [Quick Start] - [API] - [License] - [Contact] - [man page] - -
-

README