# fsh - fast remote execution # Copyright (C) 1999-2001 by Per Cederqvist. # # 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. # # 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ ## Process this file with automake to produce Makefile.in info_TEXINFOS = fsh.texi bin_SCRIPTS = fsh fshd in.fshd fcp libexec_PROGRAMS = fcpwrap fcpwrap_SOURCES = fcpwrap.c pkgdata_DATA = fsh.py fshd.py fshlib.py infshd.py fshversion.py fshconfig.py \ fshcompat.py BUILT_SOURCES = fshversion.py fshconfig.py PYTHON_SCRIPT_TEMPLATE = @PYTHON_SCRIPT_TEMPLATE@ EXTRA_DIST = $(pkgdata_DATA) fsh.in fshd.in in.fshd.in \ .cvsignore bootstrap.sh simple trampoline fcp.sh \ README.DEVO RELEASING mkrel.sh MOSTLYCLEANFILES = $(bin_SCRIPTS) starter *.pyc *.pyo \ fshversion.py $(libexec_PROGRAMS) DISTCLEANFILES = fshconfig.py # If you use "make maintainer-clean" you need to run the bootstrap.sh # script to be able to compile anything again. MAINTAINERCLEANFILES = COPYING INSTALL ansi2knr.1 ansi2knr.c mdate-sh missing \ install-sh mkinstalldirs texinfo.tex \ configure Makefile.in aclocal.m4 starter: Makefile $(srcdir)/$(PYTHON_SCRIPT_TEMPLATE) rm -f $@ $@.tmp sed -e 's%@\PYTHON@%$(PYTHON)%' \ -e 's%@\pkgdatadir@%$(pkgdatadir)%' \ < $(srcdir)/$(PYTHON_SCRIPT_TEMPLATE) > $@.tmp mv $@.tmp $@ fsh: fsh.in Makefile starter rm -f $@ $@.tmp cat starter > $@.tmp sed -e 's%@\PYTHON@%$(PYTHON)%' \ -e 's%@\pkgdatadir@%$(pkgdatadir)%' \ < $(srcdir)/fsh.in >> $@.tmp chmod +x $@.tmp mv $@.tmp $@ fshd: fshd.in Makefile starter rm -f $@ $@.tmp cat starter > $@.tmp sed -e 's%@\PYTHON@%$(PYTHON)%' \ -e 's%@\pkgdatadir@%$(pkgdatadir)%' \ < $(srcdir)/fshd.in >> $@.tmp chmod +x $@.tmp mv $@.tmp $@ in.fshd: in.fshd.in Makefile starter rm -f $@ $@.tmp cat starter > $@.tmp sed -e 's%@\PYTHON@%$(PYTHON)%' \ -e 's%@\pkgdatadir@%$(pkgdatadir)%' \ < $(srcdir)/in.fshd.in >> $@.tmp chmod +x $@.tmp mv $@.tmp $@ fcp: fcp.sh Makefile rm -f $@ $@.tmp sed -e 's%@\libexecdir@%$(libexecdir)%g' \ < $(srcdir)/fcp.sh > $@.tmp chmod +x $@.tmp mv $@.tmp $@ fshversion.py: configure rm -f $@ $@.tmp echo 'version = "$(VERSION)"' > $@.tmp mv $@.tmp $@ dist-hook: $(RM) $(distdir)/fshconfig.py $(RM) $(distdir)/fshversion.py