aboutgitcodebugslistschat
path: root/test/distro
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-08-10 00:21:09 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-08-20 19:07:12 +0200
commitc5f4ba1b1b27a6879855127dcd4947a081e0d249 (patch)
tree7ba198b2c79a79b46a55842db71799e1aaf35b00 /test/distro
parentf3aaced135331d15573bd00c1f73392dd323de63 (diff)
downloadpasst-c5f4ba1b1b27a6879855127dcd4947a081e0d249.tar
passt-c5f4ba1b1b27a6879855127dcd4947a081e0d249.tar.gz
passt-c5f4ba1b1b27a6879855127dcd4947a081e0d249.tar.bz2
passt-c5f4ba1b1b27a6879855127dcd4947a081e0d249.tar.lz
passt-c5f4ba1b1b27a6879855127dcd4947a081e0d249.tar.xz
passt-c5f4ba1b1b27a6879855127dcd4947a081e0d249.tar.zst
passt-c5f4ba1b1b27a6879855127dcd4947a081e0d249.zip
Makefile: Ugly hack to get a "plain" Markdown version of README
Distribution packages reasonably expect to have a human-readable Markdown version of the README under /usr/share/doc/, but all we have right now is a heavily web-oriented version. Introduce a ugly hack to strip web-oriented parts from the current README and install it. It should probably work the other way around: a human-readable README could be used as a source for the web page. But cgit needs a file that's in the tree, not something that can be built, and https://passt.top/ is based on cgit. It should eventually be doable to work around this in cgit, instead. Reported-by: Benson Muite <benson_muite@emailplus.org> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/distro')
-rw-r--r--test/distro/opensuse2
-rw-r--r--test/distro/ubuntu2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/distro/opensuse b/test/distro/opensuse
index ad2108f..d77821a 100644
--- a/test/distro/opensuse
+++ b/test/distro/opensuse
@@ -39,7 +39,7 @@ hostb ./passt -P __PIDFILE__ &
sleep 1
host echo
hout DNS6 sed -n 's/^nameserver \([^:]*:\)\([^%]*\).*/\1\2/p' /etc/resolv.conf | head -1
-hout GUEST_FILES ls -1 *.c *.h *.sh passt.1 qrap.1 Makefile | tr '\n' ' '; echo
+hout GUEST_FILES ls -1 *.c *.h *.sh passt.1 qrap.1 Makefile README.md | tr '\n' ' '; echo
test OpenSUSE Leap 15.1
diff --git a/test/distro/ubuntu b/test/distro/ubuntu
index b9a0446..ec6c819 100644
--- a/test/distro/ubuntu
+++ b/test/distro/ubuntu
@@ -38,7 +38,7 @@ endef
hostb ./passt -P __PIDFILE__ &
sleep 1
host echo
-hout GUEST_FILES ls -1 *.c *.h *.sh passt.1 qrap.1 Makefile | tr '\n' ' '; echo
+hout GUEST_FILES ls -1 *.c *.h *.sh passt.1 qrap.1 Makefile README.md | tr '\n' ' '; echo
test Ubuntu 14.04.5 LTS (Trusty Tahr), amd64