Added rm_deps

This commit is contained in:
ceriel 1992-06-24 14:13:10 +00:00
parent c76b5f436a
commit ad4b0435bc
2 changed files with 9 additions and 0 deletions

View file

@ -6,3 +6,4 @@ do_resolve
lint-lib.ack
lint-lib.unix
mk_manpage
rm_deps

8
bin/rm_deps Executable file
View 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'