From 59c2a0853527763018f6f52af17318f430561aa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vivek=20Das=C2=A0Mohapatra?= <vivek@collabora.co.uk>
Date: Fri, 12 May 2017 16:13:09 +0100
Subject: [PATCH] Disables the (expensive) catch-all SCCS/RCS rules

---
 Makefile.am | 2 ++
 disabled.mk | 6 ++++++
 2 files changed, 8 insertions(+)
 create mode 100644 disabled.mk

diff --git a/Makefile.am b/Makefile.am
index 14cee50c0..1a502eb2c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -57,6 +57,8 @@ GENSTUB    = $(GENSTUB_V$(V))
 CLEANFILES 			   = $(shim_files) $(shim_srcs)
 BUILT_SOURCES 		   = $(shim_srcs)
 
+include disabled.mk
+
 shim/lib%.so.c: generate-stublib.sh print-libstubs capsule-shim.h shim/lib%.so.c.excluded shim/lib%.so.c.shared
 	$(GENSTUB)$(top_srcdir)/$< $$(basename $@ .c) $@.excluded $@.shared $@
 
diff --git a/disabled.mk b/disabled.mk
new file mode 100644
index 000000000..a1d0bd339
--- /dev/null
+++ b/disabled.mk
@@ -0,0 +1,6 @@
+# all these catch-all rules do is slow things down
+%:: %,v
+%:: RCS/%
+%:: RCS/%,v
+%:: SCCS/s.%
+%:: s.%
-- 
GitLab