- 论坛徽章:
- 0
|
程序里有类似sh的语句,但显然不是sh程序
tree-1.5.0/CHANGES 0000644 0000000 0000000 00000011306 10107516250 013403 0 ustar root root 0000000 0000000 Version 1.5.0
- Added -T option to change title and H1 header in HTML output.
- Added -r option to reverse alpha sort output, ala. 'ls -r'.
- '|' wildcard support added by David MacMahon <davidm@astron.Berkeley.EDU>.
- Remove extraneous '/' at the end of dirs and dir-symlinks in HTML output.
- Removed several possible overflow problems by dynamically allocating
arrays in several places.
<<< 很多很多历史,声明.... >>>
tree-1.5.0/Makefile 0000644 0000652 0000024 00000002516 10107506474 014040 0 ustar ice users 0000000 0000000 # $Copyright: $
# Copyright (c) 1996 - 2004 by Steve Baker
# All Rights reserved
#
# This software is provided as is without any express or implied
# warranties, including, without limitation, the implied warranties
# of merchant-ability and fitness for a particular purpose.
CC=gcc
#CFLAGS=-ggdb -Wall -DLINUX_BIGFILE
CFLAGS=-O2 -Wall -fomit-frame-pointer -DLINUX_BIGFILE
LDFLAGS=-s
# Uncomment for FreeBSD:
#CC=gcc
#CFLAGS=-O2 -Wall -fomit-frame-pointer
#LDFLAGS=-s
# Uncomment for OS X:
#CC=cc
#CFLAGS=-O2 -Wall -fomit-frame-pointer -no-cpp-precomp
#LDFLAGS=
# Uncomment for HP/UX:
#CC=cc
#CFLAGS=-Ae +O2 +DAportable -Wall
#LDFLAGS=
# Uncomment for OS/2:
#CC=gcc
#CFLAGS=-02 -Wall -fomit-frame-pointer -Zomf -Zsmall-conv
#LDFLAGS=-s -Zomf -Zsmall-conv
prefix = /usr/local
VERSION=1.5.0
TREE_DEST=tree
BINDIR=${prefix}/bin
MAN=tree.1
MANDIR=${prefix}/man/man1
all: tree
tree: tree.o
$(CC) $(LDFLAGS) -o $(TREE_DEST) tree.o
tree.o: tree.c
clean:
if [ -x $(TREE_DEST) ]; then rm $(TREE_DEST); fi
if [ -f tree.o ]; then rm *.o; fi
rm -f *~
install:
install -d $(BINDIR)
install -d $(MANDIR)
if [ -e $(TREE_DEST) ]; then \
install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
fi
install $(MAN) $(MANDIR)/$(MAN)
distclean:
if [ -f tree.o ]; then rm *.o; fi
rm -f *~
dist: distclean
tar zcf ../tree-$(VERSION).tgz -C .. `cat .tarball`
tree-1.5.0/README 0000644 0000652 0000024 00000005441 10107515573 013260 0 ustar ice users 0000000 0000000
<<< 还有很多很多.... >>> |
|