diff --git a/Make-dist b/Make-dist index 69b1f0120f..c68b98da8c 100644 --- a/Make-dist +++ b/Make-dist @@ -35,7 +35,8 @@ foo:=$(shell echo 'foobar=$(filter %.c %.S %.s %.h,$(distribute))'>&2) ifndef sysdep_dirs # Find all sysdep directories. export sysdep_dirs := $(shell find $(..)sysdeps -type d ! -name bits \ - ! -name CVS ! -name RCS -print) + ! -name CVS ! -name RCS \ + ! -name SCCS -print) else # Defined by the parent. sysdep_dirs := $(addprefix $(..),$(sysdep_dirs)) diff --git a/MakeTAGS b/MakeTAGS index b4320ee896..f6546e8f3c 100644 --- a/MakeTAGS +++ b/MakeTAGS @@ -46,7 +46,8 @@ ifndef sysdep_dirs sysdep_dirs := $(shell find $(..)sysdeps \ $(wildcard \ $(patsubst %,$(..)%/sysdeps,$(add-ons))) \ - -type d ! -name RCS ! -name CVS -print) + -type d ! -name RCS ! -name CVS \ + ! -name SCCS -print) endif # Find all sysdep dirs there are, but putting the ones