2f0b156798826d52cc57618ac9264469b0f737e9
1 # Copyright (C) 1999 Ian Jackson
3 # This is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with userv-utils; if not, write to the Free Software
15 # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 echo
>&2 'See README. This is not a unified package.'
25 find .
-name
'*~' -o
-name
'#*#' -o
-name
'*.o' -o
-name core \
27 -print0 | xargs
-0r
rm --
29 dist_tmp
=dist_tmp
/userv-utils-
$(VERSION
)
32 mkdir dist_tmp
$(dist_tmp
)
33 find .
-name dist_tmp
-prune
-o
-type d
-print | \
34 sed
-e
's#.*#mkdir -p $(dist_tmp)/&#' | sh
35 find .
-name dist_tmp
-prune
-o
-type f
-print | \
36 sed
-e
's#.*#ln & $(dist_tmp)/&#' | sh
37 cd dist_tmp
&& tar cf ..
/$(dist_tmp
).
tar `basename $(dist_tmp)`
38 gzip
-9 $(dist_tmp
).
tar
39 mv
$(dist_tmp
).
tar.gz .