Added rm_deps

This commit is contained in:
ceriel
1992-06-24 14:13:10 +00:00
parent e311f43d19
commit b8f596af87
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -6,3 +6,4 @@ do_resolve
lint-lib.ack
lint-lib.unix
mk_manpage
rm_deps
Executable
+8
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'