Added rm_deps
This commit is contained in:
parent
c76b5f436a
commit
ad4b0435bc
|
@ -6,3 +6,4 @@ do_resolve
|
|||
lint-lib.ack
|
||||
lint-lib.unix
|
||||
mk_manpage
|
||||
rm_deps
|
||||
|
|
8
bin/rm_deps
Executable file
8
bin/rm_deps
Executable file
|
@ -0,0 +1,8 @@
|
|||
: $Header$
|
||||
|
||||
: remove dependencies from a makefile, write result on standard output.
|
||||
: we cannot do this directly in a makefile because some make versions
|
||||
: have # start a comment, always.
|
||||
|
||||
sed -e '/^#DEPENDENCIES/,$d' $1
|
||||
echo '#DEPENDENCIES'
|
Loading…
Reference in a new issue