rm_deps 242 B

12345678
  1. : $Header$
  2. : remove dependencies from a makefile, write result on standard output.
  3. : we cannot do this directly in a makefile because some make versions
  4. : have # start a comment, always.
  5. sed -e '/^#DEPENDENCIES/,$d' $1
  6. echo '#DEPENDENCIES'