#!/bin/bash # dpkg configuration script for emc2 # Copyright (C) 2006 Jeff Epler # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # When used to produce a debian package, this file is a script "used to # control compilation and installation of the executable" usage () { P=${0##*/} cat < control subst rules.in > rules; chmod +x rules if [ -f extras-$DISTRIB_NAME/emc2.files ]; then subst emc2.files.in $DRIVERS extras-$DISTRIB_NAME/emc2.files > $EMC2_PACKAGE_NAME.files else subst emc2.files.in $DRIVERS > emc2-$TARGET.files fi rm -f ../build-stamp echo "successfully configured for '$DISTRIB_NAME'-'$TARGET'.."