repo.or.cz
/
qball-mpd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial revision 6759
[qball-mpd.git]
/
scripts
/
.svn
/
text-base
/
makedist.sh.svn-base
blob
d342cea3a099f76355514f4e5f500b137d782dd4
1
#!/bin/sh
2
PWD
=
`pwd`
3
4
## If we're not in the scripts directory
5
## assume the base directory.
6
if
test
"`basename
$PWD
`"
==
"scripts"
;
then
7
cd
..
/
8
else
9
MYOLDPWD
=
`pwd`
10
cd
`dirname
$0
`
/
..
/
11
fi
12
13
if
test -e
Makefile
14
then
15
make
distclean
16
fi
17
.
/
autogen.sh
18
make
19
make
dist
20
21
if
test
"`basename
$PWD
`"
==
"scripts"
;
then
22
cd
contrib
/
23
else
24
cd
$MYOLDPWD
25
fi