Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Kirill Smelkov
mariadb
Commits
1eb0961d
Commit
1eb0961d
authored
Apr 29, 2004
by
tomas@mc05.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SrcDist.sh, Epilogue.mk:
improved distdir
parent
818d0bb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
16 deletions
+12
-16
ndb/Epilogue.mk
ndb/Epilogue.mk
+3
-7
ndb/SrcDist.sh
ndb/SrcDist.sh
+9
-9
No files found.
ndb/Epilogue.mk
View file @
1eb0961d
...
@@ -852,16 +852,14 @@ ebrowse: DUMMY
...
@@ -852,16 +852,14 @@ ebrowse: DUMMY
cd
$(NDB_TOP)
;
ebrowse
--file
tmpfile~
cd
$(NDB_TOP)
;
ebrowse
--file
tmpfile~
cd
$(NDB_TOP)
;
rm
-f
tmpfile~
cd
$(NDB_TOP)
;
rm
-f
tmpfile~
DISTFILES
=
$(
shell
/bin/sh SrcDist.sh
)
srcdir
=
$(NDB_TOP)
srcdir
=
$(NDB_TOP)
top_distdir
=
$(NDB_TOP)
/..
top_distdir
=
$(NDB_TOP)
/..
mkinstalldirs
:=
/bin/sh ../mkinstalldirs
mkinstalldirs
:=
/bin/sh ../mkinstalldirs
distdir
=
$(top_distdir)
/
$(PACKAGE)
-
$(VERSION)
/ndb
distdir
=
$(top_distdir)
/
$(PACKAGE)
-
$(VERSION)
/ndb
distdir
:
$(DISTFILES)
distdir
:
$(mkinstalldirs)
$(distdir)
$(mkinstalldirs)
$(distdir)
@
list
=
'
$(
DISTFILES
)
'
;
for
file
in
$$
list
;
do
\
@
list
=
'
$(
shell
/bin/sh SrcDist.sh
)
'
;
for
file
in
$$
list
;
do
\
if
test
-f
$$
file
||
test
-d
$$
file
;
then
d
=
.
;
else
d
=
$(srcdir)
;
fi
;
\
if
test
-f
$$
file
||
test
-d
$$
file
;
then
d
=
.
;
else
d
=
$(srcdir)
;
fi
;
\
dir
=
`
echo
"
$$
file"
|
sed
-e
's,/[^/]*$$,,'
`
;
\
dir
=
`
echo
"
$$
file"
|
sed
-e
's,/[^/]*$$,,'
`
;
\
if
test
"
$$
dir"
!=
"
$$
file"
&&
test
"
$$
dir"
!=
"."
;
then
\
if
test
"
$$
dir"
!=
"
$$
file"
&&
test
"
$$
dir"
!=
"."
;
then
\
...
@@ -870,9 +868,7 @@ distdir: $(DISTFILES)
...
@@ -870,9 +868,7 @@ distdir: $(DISTFILES)
else
\
else
\
dir
=
''
;
\
dir
=
''
;
\
fi
;
\
fi
;
\
if
test
-d
$$
d/
$$
file
;
then
\
if
test
-f
$$
d/
$$
file
;
then
\
echo
$(distdir)$$
dir
;
\
else
\
test
-f
$(distdir)
/
$$
file
\
test
-f
$(distdir)
/
$$
file
\
||
cp
-p
$$
d/
$$
file
$(distdir)
/
$$
file
\
||
cp
-p
$$
d/
$$
file
$(distdir)
/
$$
file
\
||
exit
1
;
\
||
exit
1
;
\
...
...
ndb/SrcDist.sh
View file @
1eb0961d
#
#
# Invoked from
scripts/make_binary_distribution as "sh BinDist.sh"
.
# Invoked from
make distdir
.
# Prints list of dirs and files to include under mysql/ndb.
# Prints list of dirs and files to include under mysql/ndb.
#
#
...
@@ -29,35 +29,35 @@ __END__
...
@@ -29,35 +29,35 @@ __END__
# docs
# docs
#find docs/*.html docs/*.pdf -print
| sort -t/
#find docs/*.html docs/*.pdf -print
# include
# include
find include
-print
|
grep
-v
/SCCS
|
sort
-t
/
find include
-print
|
grep
-v
/SCCS
# config
# config
find config
-print
|
grep
-v
/SCCS
|
sort
-t
/
find config
-print
|
grep
-v
/SCCS
# tools
# tools
find tools
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
tools/ndbsql |
sort
-t
/
find tools
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
'\.depend'
|
grep
-v
tools/ndbsql
# home
# home
find home
-print
|
grep
-v
/SCCS
|
sort
-t
/
find home
-print
|
grep
-v
/SCCS
# test
# test
find
test
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
test
/odbc |
sort
-t
/
find
test
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
'\.depend'
|
grep
-v
test
/odbc
# src
# src
find src
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
src/client/odbc |
grep
-v
cpcc-win32 |
sort
-t
/
find src
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
'\.depend'
|
grep
-v
src/client/odbc |
grep
-v
cpcc-win32
# demos
# demos
find demos
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
sort
-t
/
find demos
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
'\.depend'
# examples
# examples
...
...
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