summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
-rw-r--r--README.txt105
3 files changed, 4 insertions, 105 deletions
diff --git a/.gitignore b/.gitignore
index 1b3d8da..947f816 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+README.txt
build
share/man/*.[0-9]
share/man/*.xml
diff --git a/Makefile b/Makefile
index 537f053..329cc89 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,8 @@ all: build
build: share/man/*.txt
$(MAKE) -C share/man
+ sed -n '/^NAME/,$$p' share/man/$(SOFTWARE).7.txt > README.txt
+
for ICON in share/icons/*; \
do \
ICON="$$(basename $${ICON})"; \
@@ -93,6 +95,7 @@ clean:
$(MAKE) -C share/man clean
rm -rf build
+ rm -f README.txt
distclean: clean
diff --git a/README.txt b/README.txt
deleted file mode 100644
index 54a2fdc..0000000
--- a/README.txt
+++ /dev/null
@@ -1,105 +0,0 @@
-apache-icons - Alternative icons for Apache autoindex
-=====================================================
-
-
-1. Description
---------------
-
- "The Apache HTTP Server is the world's most used web server software."
-
- -- Wikipedia (https://en.wikipedia.org/wiki/Apache_HTTP_Server)
-
-apache-icons provides alternative icons for Apache autoindex.
-
-
-2. Download
------------
-
- * Upstream Releases: https://files.open-infrastructure.net/software/apache-icons/upstream
- * Upstream Sources: https://sources.open-infrastructure.net/software/apache-icons
- * Debian Releases: https://files.open-infrastructure.net/software/apache-icons/debian
- * Debian Sources: https://sources.progress-linux.org/users/daniel/debian/packages/open-infrastructure-apache-icons
-
-
-3. Installation
----------------
-
-3.1 Source
-----------
-
- 1. sudo apt install asciidoc git docbook-xml docbook-xsl libxml2-utils make xsltproc imagemagick librsvg2-bin
- 2. git clone https://sources.open-infrastructure.net/software/apache-icons
- 3. cd apache-icons && sudo make install
-
-3.2 Debian 9 (stretch) and newer
---------------------------------
-
- * sudo apt install apache-icons
-
-3.3 Ubuntu 16.10 (yakkety) and newer
-------------------------------------
-
- * sudo apt install apache-icons
-
-
-4. Development
---------------
-
-Bug reports, feature requests, help, patches, support and everything else
-are welcome on the Open Infrastructure Software Mailing List:
-
- * https://lists.open-infrastructure.net/listinfo/software
-
-Please base patches against the 'next' Git branch using common sense:
-
- * https://www.kernel.org/doc/Documentation/SubmittingPatches
-
-Debian specific bugs can also be reported in the Debian Bug Tracking System:
-
- * https://bugs.debian.org
-
-
-5. Known Limitations
---------------------
-
-Changing from one icon set to the other requires a reload of the apache webserver.
-
-
-6. Usage
---------
-
-The default icon theme is determined by the /usr/share/apache-icons/default
-(and /usr/share/apache-icons/default.conf respectivly) file.
-
-On Debian based system "sudo update-alternatives --config apache-icons" can be
-used to automatically select the active icon theme (including the default apache
-icons).
-
-The following themes are available:
-
- * awesome-png: Font Awesome based, PNG format
- * awesome-svg: Font Awesome based, SVG format
- * tango-png: Tango Icons based, PNG format
- * tango-svg: Tango Icons based, SVG format
-
-The SVG themes are preferable because they are sharper and scale losless.
-They require somewhat modern browsers though.
-
-An example of the tango-svg theme can be seen on
-https://files.open-infrastructure.net.
-
-
-7. Links
---------
-
- * Font Awesome:
- http://fontawesome.io/
-
- * Tango Desktop Project:
- http://tango.freedesktop.org/
-
-
-8. Authors
-----------
-
- * Daniel Baumann <daniel.baumann@open-infrastructure.net>