Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c80cb158
Commit
c80cb158
authored
Sep 26, 2002
by
Ben Collins
Committed by
Linus Torvalds
Sep 26, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] RCS files exclusion (and add subversion)
parent
09baf27a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
Makefile
Makefile
+20
-18
No files found.
Makefile
View file @
c80cb158
...
...
@@ -173,6 +173,8 @@ noconfig_targets := xconfig menuconfig config oldconfig randconfig \
help
tags TAGS sgmldocs psdocs pdfdocs htmldocs
\
checkconfig checkhelp checkincludes
RCS_FIND_IGNORE
:=
\(
-name
SCCS
-o
-name
BitKeeper
-o
-name
.svn
\)
-prune
-o
# Helpers built in scripts/
# ---------------------------------------------------------------------------
...
...
@@ -581,7 +583,7 @@ spec:
# will become invalid
rpm
:
clean spec
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
.
$(RCS_FIND_IGNORE)
\
\(
-size
0
-o
-name
.depend
-o
-name
.hdepend
\)
\
-type
f
-print
| xargs
rm
-f
set
-e
;
\
...
...
@@ -717,7 +719,7 @@ include arch/$(ARCH)/Makefile
clean
:
archclean
@
echo
'Cleaning up'
@
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
@
find
.
$(RCS_FIND_IGNORE)
\
\(
-name
\*
.[oas]
-o
-name
core
-o
-name
.
\*
.cmd
-o
\
-name
.
\*
.tmp
-o
-name
.
\*
.d
\)
-type
f
-print
\
|
grep
-v
lxdialog/ | xargs
rm
-f
...
...
@@ -726,7 +728,7 @@ clean: archclean
mrproper
:
clean archmrproper
@
echo
'Making mrproper'
@
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
@
find
.
$(RCS_FIND_IGNORE)
\
\(
-name
.depend
-o
-name
.
\*
.cmd
\)
\
-type
f
-print
| xargs
rm
-f
@
rm
-f
$(MRPROPER_FILES)
...
...
@@ -736,7 +738,7 @@ mrproper: clean archmrproper
distclean
:
mrproper
@
echo
'Making distclean'
@
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
@
find
.
$(RCS_FIND_IGNORE)
\
\(
-not
-type
d
\)
-and
\
\(
-name
'*.orig'
-o
-name
'*.rej'
-o
-name
'*~'
\
-o
-name
'*.bak'
-o
-name
'#*#'
-o
-name
'.*.orig'
\
...
...
@@ -747,18 +749,18 @@ distclean: mrproper
# ---------------------------------------------------------------------------
define
all-sources
(
find
.
\(
-name
SCCS
-o
-name
BitKeeper
-o
-name
include
-o \
-name
arch
\)
-prune
\
-o
-name
'*.[chS]'
-print;
\
find
arch/$(ARCH)
\(
-name
SCCS
-o
-name
BitKeeper
\)
-prune
\
-o
-name
'*.[chS]'
-print;
\
find
include
\( -name SCCS -o -name BitKeeper -o -name config -o \
-name
'asm-*'
\)
-prune
\
-o
-name
'*.[chS]'
-print;
\
find
include/asm-$(ARCH)
\(
-name
SCCS
-o
-name
BitKeeper
\)
-prune
\
(
find
.
$(RCS_FIND_IGNORE)
\
\(
-name
include
-o -name arch \) -prune -o \
-name
'*.[chS]'
-print;
\
find
arch/$(ARCH)
$(RCS_FIND_IGNORE)
\
-name
'*.[chS]'
-print;
\
find
include
$(RCS_FIND_IGNORE) \
\(
-name
config
-o
-name
'asm-*'
\)
-prune
-o
\
-o
-name
'*.[chS]'
-print;
\
find
include/asm-generic
\(
-name
SCCS
-o
-name
BitKeeper
\)
-prune
\
-o
-name
'*.[chS]'
-print
)
find
include/asm-$(ARCH)
$(RCS_FIND_IGNORE)
\
-name
'*.[chS]'
-print;
\
find
include/asm-generic
$(RCS_FIND_IGNORE)
\
-name
'*.[chS]'
-print
)
endef
quiet_cmd_TAGS
=
MAKE
$@
...
...
@@ -825,17 +827,17 @@ sgmldocs psdocs pdfdocs htmldocs: scripts
# ---------------------------------------------------------------------------
checkconfig
:
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
*
$(RCS_FIND_IGNORE)
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkconfig.pl
checkhelp
:
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
*
$(RCS_FIND_IGNORE)
\
-name
[
cC]onfig.in
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkhelp.pl
checkincludes
:
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
*
$(RCS_FIND_IGNORE)
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkincludes.pl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment