mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Properly clean and ignore flat make binaries and libs
bin/package, src/cmd/INIT/package.sh: - When running bin/package flat make clean, also clean the flat hierarchy binaries. .gitignore: - Ignore flat hierarchy binaries.
This commit is contained in:
parent
77111310aa
commit
cda1976e4c
3 changed files with 111 additions and 0 deletions
35
.gitignore
vendored
35
.gitignore
vendored
|
@ -3,6 +3,41 @@ arch
|
||||||
tgz
|
tgz
|
||||||
lcl
|
lcl
|
||||||
|
|
||||||
|
# Flat make libs, binaries, etc
|
||||||
|
bin/.paths
|
||||||
|
bin/ar
|
||||||
|
bin/cc
|
||||||
|
bin/crossexec
|
||||||
|
bin/ditto
|
||||||
|
bin/filter
|
||||||
|
bin/hurl
|
||||||
|
bin/iffe
|
||||||
|
bin/ksh
|
||||||
|
bin/mamake
|
||||||
|
bin/mktest
|
||||||
|
bin/ok/
|
||||||
|
bin/proto
|
||||||
|
bin/pty
|
||||||
|
bin/ratz
|
||||||
|
bin/regress
|
||||||
|
bin/release
|
||||||
|
bin/rt
|
||||||
|
bin/shcomp
|
||||||
|
bin/suid_exec
|
||||||
|
fun/
|
||||||
|
include/
|
||||||
|
lib/file/
|
||||||
|
lib/lib/
|
||||||
|
lib/libast.a
|
||||||
|
lib/libcmd.a
|
||||||
|
lib/libdll.a
|
||||||
|
lib/libshell.a
|
||||||
|
lib/libsum.a
|
||||||
|
lib/make/
|
||||||
|
lib/package/gen/
|
||||||
|
lib/probe/
|
||||||
|
man/
|
||||||
|
|
||||||
# This one keeps changing its license header, causing git to show an
|
# This one keeps changing its license header, causing git to show an
|
||||||
# uncommitted file. It's always re-copied anyway, and not for direct
|
# uncommitted file. It's always re-copied anyway, and not for direct
|
||||||
# invocation, so exclude. The source file is: src/cmd/INIT/execrate.sh
|
# invocation, so exclude. The source file is: src/cmd/INIT/execrate.sh
|
||||||
|
|
38
bin/package
38
bin/package
|
@ -4967,6 +4967,44 @@ admin) while test ! -f $admin_db
|
||||||
clean|clobber)
|
clean|clobber)
|
||||||
cd $PACKAGEROOT
|
cd $PACKAGEROOT
|
||||||
$exec rm -rf arch/$HOSTTYPE
|
$exec rm -rf arch/$HOSTTYPE
|
||||||
|
if test "$flat" = 1
|
||||||
|
then $exec rm -rf \
|
||||||
|
bin/.paths \
|
||||||
|
bin/ar \
|
||||||
|
bin/cc \
|
||||||
|
bin/crossexec \
|
||||||
|
bin/ditto \
|
||||||
|
bin/filter \
|
||||||
|
bin/hurl \
|
||||||
|
bin/iffe \
|
||||||
|
bin/ksh \
|
||||||
|
bin/mamake \
|
||||||
|
bin/mktest \
|
||||||
|
bin/ok/ \
|
||||||
|
bin/proto \
|
||||||
|
bin/pty \
|
||||||
|
bin/ratz \
|
||||||
|
bin/regress \
|
||||||
|
bin/release \
|
||||||
|
bin/rt \
|
||||||
|
bin/shcomp \
|
||||||
|
bin/suid_exec \
|
||||||
|
bin/*.old \
|
||||||
|
fun/ \
|
||||||
|
include/ \
|
||||||
|
lib/file/ \
|
||||||
|
lib/lib/ \
|
||||||
|
lib/libast.a \
|
||||||
|
lib/libcmd.a \
|
||||||
|
lib/libdll.a \
|
||||||
|
lib/libshell.a \
|
||||||
|
lib/libsum.a \
|
||||||
|
lib/*.old \
|
||||||
|
lib/make/ \
|
||||||
|
lib/package/gen/ \
|
||||||
|
lib/probe/ \
|
||||||
|
man/
|
||||||
|
fi
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
@ -4966,6 +4966,44 @@ admin) while test ! -f $admin_db
|
||||||
clean|clobber)
|
clean|clobber)
|
||||||
cd $PACKAGEROOT
|
cd $PACKAGEROOT
|
||||||
$exec rm -rf arch/$HOSTTYPE
|
$exec rm -rf arch/$HOSTTYPE
|
||||||
|
if test "$flat" = 1
|
||||||
|
then $exec rm -rf \
|
||||||
|
bin/.paths \
|
||||||
|
bin/ar \
|
||||||
|
bin/cc \
|
||||||
|
bin/crossexec \
|
||||||
|
bin/ditto \
|
||||||
|
bin/filter \
|
||||||
|
bin/hurl \
|
||||||
|
bin/iffe \
|
||||||
|
bin/ksh \
|
||||||
|
bin/mamake \
|
||||||
|
bin/mktest \
|
||||||
|
bin/ok/ \
|
||||||
|
bin/proto \
|
||||||
|
bin/pty \
|
||||||
|
bin/ratz \
|
||||||
|
bin/regress \
|
||||||
|
bin/release \
|
||||||
|
bin/rt \
|
||||||
|
bin/shcomp \
|
||||||
|
bin/suid_exec \
|
||||||
|
bin/*.old \
|
||||||
|
fun/ \
|
||||||
|
include/ \
|
||||||
|
lib/file/ \
|
||||||
|
lib/lib/ \
|
||||||
|
lib/libast.a \
|
||||||
|
lib/libcmd.a \
|
||||||
|
lib/libdll.a \
|
||||||
|
lib/libshell.a \
|
||||||
|
lib/libsum.a \
|
||||||
|
lib/*.old \
|
||||||
|
lib/make/ \
|
||||||
|
lib/package/gen/ \
|
||||||
|
lib/probe/ \
|
||||||
|
man/
|
||||||
|
fi
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue