home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / gnu / gawk213s.lzh / GAWK213S / MKCONF.G < prev    next >
Text File  |  1993-07-29  |  632b  |  19 lines

  1. #
  2. # gulam script to produce configuration file for Atari ST;
  3. # performs the same job as mkconf, but only for this specific configuration;
  4. # it is assumed that it is located in a subdirectory .\atari
  5. #
  6. if { -e ..\config\atari }
  7.     sed -n -f mkscrpt.sed ..\config\atari > sedscr
  8.     sed -f sedscr ..\config.h-d > config.h
  9.     sed -n '/^#echo./s///p' ..\config\atari
  10.     rm sedscr
  11.     mv config.h ..
  12. ef
  13.     echo "'..\config\atari' was lost somewhere"
  14.     echo "Either construct one based on the examples in the config directory,"
  15.     echo "or, in source directory, copy config.h-dist to config.h and edit it."
  16.     exit 1
  17. endif
  18. exit 0
  19.