summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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