summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-03 16:55:43 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 09:37:09 +0000
commitc596137b3a18854a143d588772d93934835b2b3b (patch)
treea0e97f7c9ab12661aa9af8efd4cd5b7b6368c30f /Makefile
parentHarmonizing asciidoc formatting in manpage. (diff)
downloadservice-tools-c596137b3a18854a143d588772d93934835b2b3b.tar.xz
service-tools-c596137b3a18854a143d588772d93934835b2b3b.zip
Replacing README.txt with a copy of apache-tools.7 manpage.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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