[PATCH 7/7] src: Add Vim modeline to Makefile.am snippets

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

 



Vim won't recognize them, and thus not enable niceties
such as syntax highlighting, otherwise.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 src/access/Makefile.inc.am      | 2 ++
 src/admin/Makefile.inc.am       | 2 ++
 src/bhyve/Makefile.inc.am       | 2 ++
 src/conf/Makefile.inc.am        | 2 ++
 src/cpu/Makefile.inc.am         | 2 ++
 src/cpu_map/Makefile.inc.am     | 2 ++
 src/esx/Makefile.inc.am         | 2 ++
 src/hyperv/Makefile.inc.am      | 2 ++
 src/interface/Makefile.inc.am   | 2 ++
 src/libxl/Makefile.inc.am       | 2 ++
 src/locking/Makefile.inc.am     | 2 ++
 src/logging/Makefile.inc.am     | 2 ++
 src/lxc/Makefile.inc.am         | 2 ++
 src/network/Makefile.inc.am     | 2 ++
 src/node_device/Makefile.inc.am | 2 ++
 src/nwfilter/Makefile.inc.am    | 2 ++
 src/openvz/Makefile.inc.am      | 2 ++
 src/phyp/Makefile.inc.am        | 2 ++
 src/qemu/Makefile.inc.am        | 2 ++
 src/remote/Makefile.inc.am      | 2 ++
 src/rpc/Makefile.inc.am         | 2 ++
 src/secret/Makefile.inc.am      | 2 ++
 src/security/Makefile.inc.am    | 2 ++
 src/storage/Makefile.inc.am     | 2 ++
 src/test/Makefile.inc.am        | 2 ++
 src/util/Makefile.inc.am        | 2 ++
 src/vbox/Makefile.inc.am        | 2 ++
 src/vmware/Makefile.inc.am      | 2 ++
 src/vmx/Makefile.inc.am         | 2 ++
 src/vz/Makefile.inc.am          | 2 ++
 src/xenapi/Makefile.inc.am      | 2 ++
 src/xenconfig/Makefile.inc.am   | 2 ++
 32 files changed, 64 insertions(+)

diff --git a/src/access/Makefile.inc.am b/src/access/Makefile.inc.am
index 6d57ca1a1b..ff9e7d445f 100644
--- a/src/access/Makefile.inc.am
+++ b/src/access/Makefile.inc.am
@@ -146,3 +146,5 @@ access/viraccessapichecklxc.c: $(srcdir)/rpc/gendispatch.pl \
 	$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
 	  lxc LXC $(LXC_PROTOCOL) access/viraccessapichecklxc.h \
 	  > $(srcdir)/access/viraccessapichecklxc.c
+
+# vim: filetype=automake
diff --git a/src/admin/Makefile.inc.am b/src/admin/Makefile.inc.am
index 55d721f0bf..ffbfc34200 100644
--- a/src/admin/Makefile.inc.am
+++ b/src/admin/Makefile.inc.am
@@ -48,3 +48,5 @@ admin/admin_server_dispatch_stubs.h: $(srcdir)/rpc/gendispatch.pl \
 	$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=server \
 	  admin ADMIN $(ADMIN_PROTOCOL) \
 	  > $(srcdir)/admin/admin_server_dispatch_stubs.h
+
+# vim: filetype=automake
diff --git a/src/bhyve/Makefile.inc.am b/src/bhyve/Makefile.inc.am
index fba1b9ef30..6134f3686c 100644
--- a/src/bhyve/Makefile.inc.am
+++ b/src/bhyve/Makefile.inc.am
@@ -71,3 +71,5 @@ EXTRA_DIST += \
 .PHONY: \
 	check-augeas-bhyve \
 	$(NULL)
+
+# vim: filetype=automake
diff --git a/src/conf/Makefile.inc.am b/src/conf/Makefile.inc.am
index 219ff350d7..2d22d4614a 100644
--- a/src/conf/Makefile.inc.am
+++ b/src/conf/Makefile.inc.am
@@ -169,3 +169,5 @@ libvirt_conf_la_CFLAGS = \
 	$(NULL)
 libvirt_conf_la_LDFLAGS = $(AM_LDFLAGS)
 libvirt_conf_la_LIBADD = $(LIBXML_LIBS)
+
+# vim: filetype=automake
diff --git a/src/cpu/Makefile.inc.am b/src/cpu/Makefile.inc.am
index 5020d40583..057e571b83 100644
--- a/src/cpu/Makefile.inc.am
+++ b/src/cpu/Makefile.inc.am
@@ -22,3 +22,5 @@ libvirt_cpu_la_CFLAGS = \
 	$(AM_CFLAGS) \
 	$(NULL)
 libvirt_cpu_la_SOURCES = $(CPU_SOURCES)
+
+# vim: filetype=automake
diff --git a/src/cpu_map/Makefile.inc.am b/src/cpu_map/Makefile.inc.am
index 9eeb33e4be..8b71552357 100644
--- a/src/cpu_map/Makefile.inc.am
+++ b/src/cpu_map/Makefile.inc.am
@@ -60,3 +60,5 @@ cpumap_DATA = \
 	$(NULL)
 
 EXTRA_DIST += $(cpumap_DATA)
+
+# vim: filetype=automake
diff --git a/src/esx/Makefile.inc.am b/src/esx/Makefile.inc.am
index 152dd7b979..5ad7f2210c 100644
--- a/src/esx/Makefile.inc.am
+++ b/src/esx/Makefile.inc.am
@@ -88,3 +88,5 @@ libvirt_driver_esx_la_SOURCES = $(ESX_DRIVER_SOURCES)
 libvirt_driver_esx_la_DEPENDENCIES = $(ESX_DRIVER_GENERATED)
 
 endif WITH_ESX
+
+# vim: filetype=automake
diff --git a/src/hyperv/Makefile.inc.am b/src/hyperv/Makefile.inc.am
index a768272b72..2e4263f75d 100644
--- a/src/hyperv/Makefile.inc.am
+++ b/src/hyperv/Makefile.inc.am
@@ -57,3 +57,5 @@ libvirt_driver_hyperv_la_LDFLAGS = $(AM_LDFLAGS)
 libvirt_driver_hyperv_la_LIBADD = $(OPENWSMAN_LIBS)
 libvirt_driver_hyperv_la_SOURCES = $(HYPERV_DRIVER_SOURCES)
 endif WITH_HYPERV
+
+# vim: filetype=automake
diff --git a/src/interface/Makefile.inc.am b/src/interface/Makefile.inc.am
index 08b35d040d..76716fda14 100644
--- a/src/interface/Makefile.inc.am
+++ b/src/interface/Makefile.inc.am
@@ -40,3 +40,5 @@ libvirt_driver_interface_la_SOURCES += $(INTERFACE_DRIVER_UDEV_SOURCES)
 endif WITH_UDEV
 libvirt_driver_interface_la_LIBADD += ../gnulib/lib/libgnu.la
 endif WITH_INTERFACE
+
+# vim: filetype=automake
diff --git a/src/libxl/Makefile.inc.am b/src/libxl/Makefile.inc.am
index 59c136bf4e..77f4e0090c 100644
--- a/src/libxl/Makefile.inc.am
+++ b/src/libxl/Makefile.inc.am
@@ -102,3 +102,5 @@ EXTRA_DIST += \
 	libxl/libvirtd_libxl.aug \
 	libxl/test_libvirtd_libxl.aug.in \
 	$(NULL)
+
+# vim: filetype=automake
diff --git a/src/locking/Makefile.inc.am b/src/locking/Makefile.inc.am
index f2eb2efb7b..42642df731 100644
--- a/src/locking/Makefile.inc.am
+++ b/src/locking/Makefile.inc.am
@@ -323,3 +323,5 @@ virtlockd.8.in: locking/virtlockd.pod
 		< $@-t1 > $@-t2 && \
 	rm -f $@-t1 && \
 	mv $@-t2 $@
+
+# vim: filetype=automake
diff --git a/src/logging/Makefile.inc.am b/src/logging/Makefile.inc.am
index ae022ade0b..ec2f91b68b 100644
--- a/src/logging/Makefile.inc.am
+++ b/src/logging/Makefile.inc.am
@@ -153,3 +153,5 @@ virtlogd-admin.socket: logging/virtlogd-admin.socket.in \
 	    -e 's|[@]localstatedir[@]|$(localstatedir)|g' \
 	    < $< > $@-t && \
 	    mv $@-t $@
+
+# vim: filetype=automake
diff --git a/src/lxc/Makefile.inc.am b/src/lxc/Makefile.inc.am
index 8dd2e9ea9e..a6cff211f5 100644
--- a/src/lxc/Makefile.inc.am
+++ b/src/lxc/Makefile.inc.am
@@ -205,3 +205,5 @@ EXTRA_DIST += \
 	lxc/libvirtd_lxc.aug \
 	lxc/test_libvirtd_lxc.aug.in \
 	$(NULL)
+
+# vim: filetype=automake
diff --git a/src/network/Makefile.inc.am b/src/network/Makefile.inc.am
index 508c8c0422..992fe5b608 100644
--- a/src/network/Makefile.inc.am
+++ b/src/network/Makefile.inc.am
@@ -104,3 +104,5 @@ EXTRA_DIST += network/default.xml
 	install-data-network \
 	uninstall-data-network \
 	$(NULL)
+
+# vim: filetype=automake
diff --git a/src/node_device/Makefile.inc.am b/src/node_device/Makefile.inc.am
index 0c3ad51273..63579f2778 100644
--- a/src/node_device/Makefile.inc.am
+++ b/src/node_device/Makefile.inc.am
@@ -63,3 +63,5 @@ endif WITH_UDEV
 
 libvirt_driver_nodedev_la_LIBADD += ../gnulib/lib/libgnu.la
 endif WITH_NODE_DEVICES
+
+# vim: filetype=automake
diff --git a/src/nwfilter/Makefile.inc.am b/src/nwfilter/Makefile.inc.am
index 27aa801095..4c0dd9a047 100644
--- a/src/nwfilter/Makefile.inc.am
+++ b/src/nwfilter/Makefile.inc.am
@@ -40,3 +40,5 @@ libvirt_driver_nwfilter_impl_la_LIBADD = \
 	$(NULL)
 libvirt_driver_nwfilter_impl_la_SOURCES = $(NWFILTER_DRIVER_SOURCES)
 endif WITH_NWFILTER
+
+# vim: filetype=automake
diff --git a/src/openvz/Makefile.inc.am b/src/openvz/Makefile.inc.am
index baad737362..f7adcc4528 100644
--- a/src/openvz/Makefile.inc.am
+++ b/src/openvz/Makefile.inc.am
@@ -26,3 +26,5 @@ USED_SYM_FILES += $(srcdir)/libvirt_openvz.syms
 else ! WITH_OPENVZ
 SYM_FILES += $(srcdir)/libvirt_openvz.syms
 endif ! WITH_OPENVZ
+
+# vim: filetype=automake
diff --git a/src/phyp/Makefile.inc.am b/src/phyp/Makefile.inc.am
index 496ff25266..faea97478c 100644
--- a/src/phyp/Makefile.inc.am
+++ b/src/phyp/Makefile.inc.am
@@ -17,3 +17,5 @@ libvirt_driver_phyp_la_CFLAGS = \
 	$(NULL)
 libvirt_driver_phyp_la_SOURCES = $(PHYP_DRIVER_SOURCES)
 endif WITH_PHYP
+
+# vim: filetype=automake
diff --git a/src/qemu/Makefile.inc.am b/src/qemu/Makefile.inc.am
index 2afa67f195..a9da8b1113 100644
--- a/src/qemu/Makefile.inc.am
+++ b/src/qemu/Makefile.inc.am
@@ -162,3 +162,5 @@ EXTRA_DIST += \
 	qemu/THREADS.txt \
 	libvirt_qemu_probes.d \
 	$(NULL)
+
+# vim: filetype=automake
diff --git a/src/remote/Makefile.inc.am b/src/remote/Makefile.inc.am
index 4a415d4482..8ac2778b6c 100644
--- a/src/remote/Makefile.inc.am
+++ b/src/remote/Makefile.inc.am
@@ -323,3 +323,5 @@ libvirtd.8.in: remote/libvirtd.pod
 		< $@-t1 > $@-t2 && \
 	rm -f $@-t1 && \
 	mv $@-t2 $@
+
+# vim: filetype=automake
diff --git a/src/rpc/Makefile.inc.am b/src/rpc/Makefile.inc.am
index b8c80528d2..e12258555e 100644
--- a/src/rpc/Makefile.inc.am
+++ b/src/rpc/Makefile.inc.am
@@ -135,3 +135,5 @@ libvirt_net_rpc_client_la_CFLAGS = \
 	$(NULL)
 libvirt_net_rpc_client_la_LDFLAGS = $(AM_LDFLAGS)
 libvirt_net_rpc_client_la_LIBADD = $(CYGWIN_EXTRA_LIBADD)
+
+# vim: filetype=automake
diff --git a/src/secret/Makefile.inc.am b/src/secret/Makefile.inc.am
index 79c2b2d74a..79160437c4 100644
--- a/src/secret/Makefile.inc.am
+++ b/src/secret/Makefile.inc.am
@@ -36,3 +36,5 @@ libvirt_driver_secret_la_LIBADD = \
 libvirt_driver_secret_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
 libvirt_driver_secret_la_SOURCES = $(SECRET_DRIVER_SOURCES)
 endif WITH_SECRETS
+
+# vim: filetype=automake
diff --git a/src/security/Makefile.inc.am b/src/security/Makefile.inc.am
index b24cdfd083..3f10e151bd 100644
--- a/src/security/Makefile.inc.am
+++ b/src/security/Makefile.inc.am
@@ -120,3 +120,5 @@ uninstall-apparmor-local:
 INSTALL_DATA_LOCAL += install-apparmor-local
 UNINSTALL_LOCAL += uninstall-apparmor-local
 endif WITH_APPARMOR_PROFILES
+
+# vim: filetype=automake
diff --git a/src/storage/Makefile.inc.am b/src/storage/Makefile.inc.am
index b4400b556f..1553bef6ed 100644
--- a/src/storage/Makefile.inc.am
+++ b/src/storage/Makefile.inc.am
@@ -389,3 +389,5 @@ libvirt_parthelper_CFLAGS = \
 	$(PIE_CFLAGS) \
 	$(NULL)
 endif WITH_STORAGE_DISK
+
+# vim: filetype=automake
diff --git a/src/test/Makefile.inc.am b/src/test/Makefile.inc.am
index d52c281545..49745192b6 100644
--- a/src/test/Makefile.inc.am
+++ b/src/test/Makefile.inc.am
@@ -24,3 +24,5 @@ libvirt_driver_test_la_CFLAGS = \
 	$(NULL)
 libvirt_driver_test_la_SOURCES = $(TEST_DRIVER_SOURCES)
 endif WITH_TEST
+
+# vim: filetype=automake
diff --git a/src/util/Makefile.inc.am b/src/util/Makefile.inc.am
index 4295babac3..58f2bb880d 100644
--- a/src/util/Makefile.inc.am
+++ b/src/util/Makefile.inc.am
@@ -336,3 +336,5 @@ util/virkey%.7: util/virkey%.pod
 		< $@-t1 > $@-t2 && \
 	rm -f $@-t1 && \
 	mv $@-t2 $@
+
+# vim: filetype=automake
diff --git a/src/vbox/Makefile.inc.am b/src/vbox/Makefile.inc.am
index 8c76f84e82..5057ffe92a 100644
--- a/src/vbox/Makefile.inc.am
+++ b/src/vbox/Makefile.inc.am
@@ -74,3 +74,5 @@ libvirt_driver_vbox_impl_la_LIBADD = \
 	$(NULL)
 libvirt_driver_vbox_impl_la_SOURCES = $(VBOX_DRIVER_SOURCES)
 endif WITH_VBOX
+
+# vim: filetype=automake
diff --git a/src/vmware/Makefile.inc.am b/src/vmware/Makefile.inc.am
index 0fbf866030..1dd202ae3e 100644
--- a/src/vmware/Makefile.inc.am
+++ b/src/vmware/Makefile.inc.am
@@ -25,3 +25,5 @@ USED_SYM_FILES += $(srcdir)/libvirt_vmware.syms
 else ! WITH_VMWARE
 SYM_FILES += $(srcdir)/libvirt_vmware.syms
 endif ! WITH_VMWARE
+
+# vim: filetype=automake
diff --git a/src/vmx/Makefile.inc.am b/src/vmx/Makefile.inc.am
index b9bf6ef690..b635484513 100644
--- a/src/vmx/Makefile.inc.am
+++ b/src/vmx/Makefile.inc.am
@@ -20,3 +20,5 @@ USED_SYM_FILES += $(srcdir)/libvirt_vmx.syms
 else ! WITH_VMX
 SYM_FILES += $(srcdir)/libvirt_vmx.syms
 endif ! WITH_VMX
+
+# vim: filetype=automake
diff --git a/src/vz/Makefile.inc.am b/src/vz/Makefile.inc.am
index cacdb38795..b457d2b5c1 100644
--- a/src/vz/Makefile.inc.am
+++ b/src/vz/Makefile.inc.am
@@ -36,3 +36,5 @@ libvirt_driver_vz_impl_la_LIBADD = \
 	$(LIBNL_LIBS) \
 	$(NULL)
 endif WITH_VZ
+
+# vim: filetype=automake
diff --git a/src/xenapi/Makefile.inc.am b/src/xenapi/Makefile.inc.am
index 4640e9943f..9179cf104f 100644
--- a/src/xenapi/Makefile.inc.am
+++ b/src/xenapi/Makefile.inc.am
@@ -26,3 +26,5 @@ libvirt_driver_xenapi_la_LIBADD = \
 	$(NULL)
 libvirt_driver_xenapi_la_SOURCES = $(XENAPI_DRIVER_SOURCES)
 endif WITH_XENAPI
+
+# vim: filetype=automake
diff --git a/src/xenconfig/Makefile.inc.am b/src/xenconfig/Makefile.inc.am
index a87d69990f..d7d10f76ed 100644
--- a/src/xenconfig/Makefile.inc.am
+++ b/src/xenconfig/Makefile.inc.am
@@ -26,3 +26,5 @@ USED_SYM_FILES += $(srcdir)/libvirt_xenconfig.syms
 else ! WITH_XENCONFIG
 SYM_FILES += $(srcdir)/libvirt_xenconfig.syms
 endif ! WITH_XENCONFIG
+
+# vim: filetype=automake
-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



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

  Powered by Linux