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
Show 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 \
...
@@ -173,6 +173,8 @@ noconfig_targets := xconfig menuconfig config oldconfig randconfig \
help
tags TAGS sgmldocs psdocs pdfdocs htmldocs
\
help
tags TAGS sgmldocs psdocs pdfdocs htmldocs
\
checkconfig checkhelp checkincludes
checkconfig checkhelp checkincludes
RCS_FIND_IGNORE
:=
\(
-name
SCCS
-o
-name
BitKeeper
-o
-name
.svn
\)
-prune
-o
# Helpers built in scripts/
# Helpers built in scripts/
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
...
@@ -581,7 +583,7 @@ spec:
...
@@ -581,7 +583,7 @@ spec:
# will become invalid
# will become invalid
rpm
:
clean spec
rpm
:
clean spec
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
.
$(RCS_FIND_IGNORE)
\
\(
-size
0
-o
-name
.depend
-o
-name
.hdepend
\)
\
\(
-size
0
-o
-name
.depend
-o
-name
.hdepend
\)
\
-type
f
-print
| xargs
rm
-f
-type
f
-print
| xargs
rm
-f
set
-e
;
\
set
-e
;
\
...
@@ -717,7 +719,7 @@ include arch/$(ARCH)/Makefile
...
@@ -717,7 +719,7 @@ include arch/$(ARCH)/Makefile
clean
:
archclean
clean
:
archclean
@
echo
'Cleaning up'
@
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
\*
.[oas]
-o
-name
core
-o
-name
.
\*
.cmd
-o
\
-name
.
\*
.tmp
-o
-name
.
\*
.d
\)
-type
f
-print
\
-name
.
\*
.tmp
-o
-name
.
\*
.d
\)
-type
f
-print
\
|
grep
-v
lxdialog/ | xargs
rm
-f
|
grep
-v
lxdialog/ | xargs
rm
-f
...
@@ -726,7 +728,7 @@ clean: archclean
...
@@ -726,7 +728,7 @@ clean: archclean
mrproper
:
clean archmrproper
mrproper
:
clean archmrproper
@
echo
'Making mrproper'
@
echo
'Making mrproper'
@
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
@
find
.
$(RCS_FIND_IGNORE)
\
\(
-name
.depend
-o
-name
.
\*
.cmd
\)
\
\(
-name
.depend
-o
-name
.
\*
.cmd
\)
\
-type
f
-print
| xargs
rm
-f
-type
f
-print
| xargs
rm
-f
@
rm
-f
$(MRPROPER_FILES)
@
rm
-f
$(MRPROPER_FILES)
...
@@ -736,7 +738,7 @@ mrproper: clean archmrproper
...
@@ -736,7 +738,7 @@ mrproper: clean archmrproper
distclean
:
mrproper
distclean
:
mrproper
@
echo
'Making distclean'
@
echo
'Making distclean'
@
find
.
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
@
find
.
$(RCS_FIND_IGNORE)
\
\(
-not
-type
d
\)
-and
\
\(
-not
-type
d
\)
-and
\
\(
-name
'*.orig'
-o
-name
'*.rej'
-o
-name
'*~'
\
\(
-name
'*.orig'
-o
-name
'*.rej'
-o
-name
'*~'
\
-o
-name
'*.bak'
-o
-name
'#*#'
-o
-name
'.*.orig'
\
-o
-name
'*.bak'
-o
-name
'#*#'
-o
-name
'.*.orig'
\
...
@@ -747,18 +749,18 @@ distclean: mrproper
...
@@ -747,18 +749,18 @@ distclean: mrproper
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
define
all-sources
define
all-sources
(
find
.
\(
-name
SCCS
-o
-name
BitKeeper
-o
-name
include
-o \
(
find
.
$(RCS_FIND_IGNORE)
\
-name
arch
\)
-prune
\
\(
-name
include
-o -name arch \) -prune -o \
-o
-name
'*.[chS]'
-print;
\
-name
'*.[chS]'
-print;
\
find
arch/$(ARCH)
\(
-name
SCCS
-o
-name
BitKeeper
\)
-prune
\
find
arch/$(ARCH)
$(RCS_FIND_IGNORE)
\
-o
-name
'*.[chS]'
-print;
\
-name
'*.[chS]'
-print;
\
find
include
\( -name SCCS -o -name BitKeeper -o -name config -o \
find
include
$(RCS_FIND_IGNORE) \
-name
'asm-*'
\)
-prune
\
\(
-name
config
-o
-name
'asm-*'
\)
-prune
-o
\
-o
-name
'*.[chS]'
-print;
\
find
include/asm-$(ARCH)
\(
-name
SCCS
-o
-name
BitKeeper
\)
-prune
\
-o
-name
'*.[chS]'
-print;
\
-o
-name
'*.[chS]'
-print;
\
find
include/asm-generic
\(
-name
SCCS
-o
-name
BitKeeper
\)
-prune
\
find
include/asm-$(ARCH)
$(RCS_FIND_IGNORE)
\
-o
-name
'*.[chS]'
-print
)
-name
'*.[chS]'
-print;
\
find
include/asm-generic
$(RCS_FIND_IGNORE)
\
-name
'*.[chS]'
-print
)
endef
endef
quiet_cmd_TAGS
=
MAKE
$@
quiet_cmd_TAGS
=
MAKE
$@
...
@@ -825,17 +827,17 @@ sgmldocs psdocs pdfdocs htmldocs: scripts
...
@@ -825,17 +827,17 @@ sgmldocs psdocs pdfdocs htmldocs: scripts
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
checkconfig
:
checkconfig
:
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
*
$(RCS_FIND_IGNORE)
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkconfig.pl
| xargs
$(PERL)
-w
scripts/checkconfig.pl
checkhelp
:
checkhelp
:
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
*
$(RCS_FIND_IGNORE)
\
-name
[
cC]onfig.in
-print
|
sort
\
-name
[
cC]onfig.in
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkhelp.pl
| xargs
$(PERL)
-w
scripts/checkhelp.pl
checkincludes
:
checkincludes
:
find
*
-name
SCCS
-prune
-o
-name
BitKeeper
-prune
-o
\
find
*
$(RCS_FIND_IGNORE)
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkincludes.pl
| 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