rm_deps 248 B

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