#!/bin/bash

IN_FILES="Makefile rc/nx-rc code/bsng.py data/bashstyle data/bashstyle-ng.pc"

copy_in_files () {

	for in_file in $IN_FILES; do
		cp ${in_file}.in ${in_file};
	done

}

substitute_values () {

	# substitute VERSION
	sed -e "s>@VERSION@>$xVERSION>g" -i data/bashstyle-ng.pc code/bsng.py rc/nx-rc

	# substitute PREFIX
	sed -e "s>@PREFIX@>$PREFIX>g" -i Makefile data/bashstyle-ng.pc code/bsng.py\
		data/bashstyle rc/nx-rc

}
