--- /dev/null
+## $Id: Makefile-files,v 1.1.2.2 2003/11/03 20:49:42 ensc Exp $ -*- makefile -*-
+
+## Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+##
+## 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, or (at your option)
+## any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+linuxconf_gen_SCRPTS = linuxconf/newvserver
+linuxconf_src_DATMAN = linuxconf/newvserver.8
+linuxconf_cfg_src_DTA = linuxconf/newvserver.defaults
+
+linuxconf_XTRAS = linuxconf/newvserver.subst \
+ $(linuxconf_cfg_src_DTA) \
+ $(linuxconf_src_DATMAN)
+
+linuxconf_GENFILES = $(linuxconf_gen_SCRPTS)
+
+
+if ENSC_ENABLE_LINUXCONF
+linuxconf_DATMAN = $(linuxconf_src_DATMAN)
+linuxconf_SCRPTS = $(linuxconf_gen_SCRPTS)
+linuxconf_cfg_DTA = $(linuxconf_cfg_src_DTA)
+
+linuxconf/%: linuxconf/%.subst
+ @mkdir -p $$(dirname '$@')
+ sed -e 's!@'PKGLIBDIR'@!$(pkglibdir)!g; \
+ s!@'SBINDIR'@!$(sbindir)!g' '$<' >'$@.tmp'
+ @-chmod --reference='$<' '$@.tmp'
+ @-rm -f '$@'
+ mv '$@.tmp' '$@'
+ @chmod a-w '$@'
+else
+linuxconf_DATMAN =
+linuxconf_SCRPTS =
+linuxconf_cfg_DTA =
+endif