From: Peter Krempa Date: Wed, 5 Apr 2017 07:51:51 +0000 (+0200) Subject: docs: Move news.rng out of docs/schemas X-Git-Tag: v3.3.0-rc1~279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e0139869a0e8775c8a099ff2c899ac90373261d;p=thirdparty%2Flibvirt.git docs: Move news.rng out of docs/schemas docs/schemas directory is meant for schemas which are installed on the system. The schema for the news file does not need to be installed. Store it along with the file it describes for simplicity. --- diff --git a/docs/schemas/news.rng b/docs/news.rng similarity index 100% rename from docs/schemas/news.rng rename to docs/news.rng diff --git a/docs/news.xml b/docs/news.xml index 9c0dcfd23d..2a15b12365 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -17,7 +17,7 @@ Lines should be kept under 80 columns, and should not exceed 100 columns. - This file is validated against docs/schemas/news.rng schema. + This file is validated against docs/news.rng schema. Use the following template to add a new release section: diff --git a/tests/virschematest.c b/tests/virschematest.c index 1f990f7cd5..119d4ba395 100644 --- a/tests/virschematest.c +++ b/tests/virschematest.c @@ -236,7 +236,7 @@ mymain(void) DO_TEST_DIR("storagevol.rng", "storagevolxml2xmlin", "storagevolxml2xmlout", "storagevolschemadata"); - DO_TEST_FILE("news.rng", "../docs/news.xml"); + DO_TEST_FILE("../news.rng", "../docs/news.xml"); return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; }