[osinfo-db PATCH 1/4] Makefile: Split xmllint from check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Let's have xmllint split from check so we can easily add more targets to
to the `make check`.

With the change `make lint` became an available make target as well.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 329f409..1367de3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,3 @@
-
 VPATH = .
 
 ifdef SOURCE_DATE_EPOCH
@@ -51,7 +50,6 @@ INTLTOOL_MERGE_OPTS = $(INTLTOOL_MERGE_OPTS_$(V))
 INTLTOOL_MERGE_OPTS_0 = -q
 INTLTOOL_MERGE_OPTS_1 =
 
-
 all: $(ARCHIVE) osinfo-db.spec mingw-osinfo-db.spec
 
 install: $(ARCHIVE)
@@ -120,10 +118,11 @@ update-po:
           fi; \
         done
 
-check: $(DATA_FILES) $(SCHEMA_FILES)
+lint: $(DATA_FILES) $(SCHEMA_FILES)
 	for xml in `find data -name '*.xml' | sort`; do \
 	  if ! $(XMLLINT) --relaxng data/schema/osinfo.rng --noout $$xml; then \
 	    exit 1; \
 	  fi; \
 	done
 
+check: lint
-- 
2.20.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux