As "make tar" runs tar with a list of files to include in the tarball,
the classic BSD "F" flag, which tells it to *exclude* certain files, is unnecessary; furthermore, some versions of tar may not support it, and GNU tar, as appears in FreeBSD and perhaps other BSDs, and in Linux, interprets the "F" flag as meaning "run, at the end of each archive volume, the script whose name is given as an argument to the flag", so it's not even syntactically compatible with the classic "F" flag. The latter problem causes "make tar" to fail; we remove the "F" flags to fix the problem.
This commit is contained in:
parent
1ee8ddb3d4
commit
28d89246f2
|
@ -17,7 +17,7 @@
|
|||
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# @(#) $Header: /tcpdump/master/libpcap/Makefile.in,v 1.78 2000-06-26 04:16:04 assar Exp $ (LBL)
|
||||
# @(#) $Header: /tcpdump/master/libpcap/Makefile.in,v 1.79 2000-07-16 19:08:29 guy Exp $ (LBL)
|
||||
|
||||
#
|
||||
# Various configurable paths (remember to edit Makefile.in, not Makefile)
|
||||
|
@ -157,7 +157,7 @@ tags: $(TAGFILES)
|
|||
|
||||
tar: force
|
||||
@cwd=`pwd` ; dir=`basename $$cwd` ; name=libpcap-`cat VERSION` ; \
|
||||
list="" ; tar="tar chFFf" ; \
|
||||
list="" ; tar="tar chf" ; \
|
||||
for i in `cat FILES` ; do list="$$list $$name/$$i" ; done; \
|
||||
echo \
|
||||
"rm -f ../$$name; ln -s $$dir ../$$name" ; \
|
||||
|
|
Reference in New Issue