summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-03 17:00:27 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-06 08:33:47 +0000
commitf46e2b0cb5959d76c059e564aed774d7bacef5f6 (patch)
tree718ec2ac21ea971820a174ac5fe888a940ff3615 /Makefile
parentRemoving empty line at the end of the changelog file. (diff)
downloadcompute-tools-f46e2b0cb5959d76c059e564aed774d7bacef5f6.tar.xz
compute-tools-f46e2b0cb5959d76c059e564aed774d7bacef5f6.zip
Replacing README.txt with a copy of container-tools.7 manpage.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 94289f2..5430df2 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,8 @@ test:
build: share/man/*.txt
$(MAKE) -C share/man
+ sed -n '/^NAME/,$$p' share/man/$(SOFTWARE).7.txt > README.txt
+
install: build
mkdir -p $(DESTDIR)/etc/${SOFTWARE}/config
mkdir -p $(DESTDIR)/etc/${SOFTWARE}/debconf
@@ -164,6 +166,8 @@ uninstall:
clean:
$(MAKE) -C share/man clean
+ rm -f README.txt
+
distclean:
reinstall: uninstall install