@@ -6,3 +6,4 @@ do_resolve
lint-lib.ack
lint-lib.unix
mk_manpage
+rm_deps
@@ -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'