[PATCH libosinfo v2 4/5] cfg.mk: enable and fix sc_space_tab

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

 



It checks that tab indentation is not used together with white spaces
indentation.

Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
---
 cfg.mk                   |  3 ++-
 data/devices/Makefile.am | 10 +++++-----
 data/oses/Makefile.am    |  2 +-
 tools/Makefile.am        | 22 +++++++++++-----------
 4 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 6d9d60e..890a4ae 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -31,7 +31,6 @@ local-checks-to-skip =			\
   sc_immutable_NEWS			\
   sc_prohibit_always_true_header_tests  \
   sc_prohibit_atoi_atof			\
-  sc_space_tab				\
   sc_two_space_separator_in_usage	\
   sc_program_name			\
   sc_makefile_check
@@ -115,3 +114,5 @@ exclude_file_name_regexp--sc_require_config_h_first = python/libvirt-glib.c
 exclude_file_name_regexp--sc_trailing_blank = ^test/isodata/.*|docs/object-model.fig
 
 exclude_file_name_regexp--sc_bindtextdomain = ^tools/.*.c|test/.*.c
+
+exclude_file_name_regexp--sc_space_tab = ^test/isodata/.*
diff --git a/data/devices/Makefile.am b/data/devices/Makefile.am
index c53c221..35aa20c 100644
--- a/data/devices/Makefile.am
+++ b/data/devices/Makefile.am
@@ -1,10 +1,10 @@
 
 databasedir = $(pkgdatadir)/db/devices/
-database_in_files = 	  \
-	xen.xml.in 	  \
-	qemu-pci.xml.in   \
-	qemu-usb.xml.in   \
-	qemu-ps2.xml.in   \
+database_in_files =	\
+	xen.xml.in	\
+	qemu-pci.xml.in	\
+	qemu-usb.xml.in	\
+	qemu-ps2.xml.in	\
 	virtio-pci.xml.in
 	$(NULL)
 
diff --git a/data/oses/Makefile.am b/data/oses/Makefile.am
index 49c8bab..e1fb6fb 100644
--- a/data/oses/Makefile.am
+++ b/data/oses/Makefile.am
@@ -1,6 +1,6 @@
 
 databasedir = $(pkgdatadir)/db/oses/
-database_in_files = 	\
+database_in_files =	\
 	altlinux.xml.in \
 	centos.xml.in   \
 	debian.xml.in   \
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 8494439..a064dce 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -19,24 +19,24 @@ POD2MAN = pod2man -c "Virtualization Support" -r "$(PACKAGE)-$(VERSION)"
 	$(AM_V_GEN)$(POD2MAN) $< $@
 
 osinfo_detect_SOURCES = osinfo-detect.c
-osinfo_detect_LDADD = $(GOBJECT_LIBS) 	     \
-		      $(GIO_LIBS)     	     \
-		      $(LIBXML_LIBS)  	     \
+osinfo_detect_LDADD = $(GOBJECT_LIBS)		\
+		      $(GIO_LIBS)		\
+		      $(LIBXML_LIBS)		\
 		      $(top_builddir)/osinfo/libosinfo-1.0.la
 
 osinfo_db_validate_SOURCES = osinfo-db-validate.c
-osinfo_db_validate_LDADD = $(GOBJECT_LIBS)   \
-		      $(GIO_LIBS)     	     \
-		      $(LIBXML_LIBS)  	     \
+osinfo_db_validate_LDADD = $(GOBJECT_LIBS)	\
+		      $(GIO_LIBS)		\
+		      $(LIBXML_LIBS)		\
 		      $(top_builddir)/osinfo/libosinfo-1.0.la
 
 osinfo_query_SOURCES = osinfo-query.c
-osinfo_query_LDADD = $(GOBJECT_LIBS) 	     \
-		      $(GIO_LIBS)     	     \
+osinfo_query_LDADD = $(GOBJECT_LIBS)		\
+		      $(GIO_LIBS)		\
 		      $(top_builddir)/osinfo/libosinfo-1.0.la
 
 osinfo_install_script_SOURCES = osinfo-install-script.c
-osinfo_install_script_LDADD = $(GOBJECT_LIBS)   \
-		      $(GIO_LIBS)     	     \
-		      $(LIBXML_LIBS)  	     \
+osinfo_install_script_LDADD = $(GOBJECT_LIBS)	\
+		      $(GIO_LIBS)		\
+		      $(LIBXML_LIBS)		\
 		      $(top_builddir)/osinfo/libosinfo-1.0.la
-- 
1.9.3

_______________________________________________
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