#!/bin/sh
#
# Make a distribution archive of kconf
#
VERSION=2
# (cd linux; make mrproper)
# rm -f linux/config.prev
# diff -ur --new-file ref linux >linux13.patch
make clean
(cd ..; tar cvf - \
  kconf/README kconf/Makefile kconf/*.h kconf/*.c kconf/mkdist \
  kconf/linux13.patch \
  kconf/example/Makefile kconf/example/example.dsc \
  kconf/example/exp_keyb.template \
  kconf/doc/Makefile kconf/doc/fullpage.sty kconf/doc/kconf.tex \
  kconf/doc/rlatex kconf/test) |
  gzip -9 >kconf.$VERSION.tar.gz
