Added rm_deps
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user