- created template capisuitefax.in from capisuitefax -> now configure will

replace the shebang (!/usr/bin/python) by the determined path of Python
  fixes bug #536 reported by Achim Bohnet


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@52 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
gernot 2003-03-20 12:05:30 +00:00
parent 86232147d3
commit d68a3c96eb
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,4 @@
capisuitefax
answering_machine.conf
fax.conf
cs_helpers.py

View File

@ -3,14 +3,19 @@ pkgsysconfdir = @sysconfdir@/capisuite
dist_pkglib_DATA = idle.py incoming.py README
python_module_DATA = cs_helpers.py
EXTRA_DIST = cs_helpers.pyin fax.confin answering_machine.confin
EXTRA_DIST = cs_helpers.pyin fax.confin answering_machine.confin capisuitefax.in
pkgsysconf_DATA = fax.conf answering_machine.conf
dist_bin_SCRIPTS = capisuitefax
bin_SCRIPTS = capisuitefax
SUBDIRS = waves
capisuitefax: capisuitefax.in
rm -f $@
sed -e 's,@\PYTHON@,$(PYTHON),g' $< >$@
chmod 755 $@
.pyin.py:
rm -f $@
sed -e 's,@\pkgsysconfdir@,$(pkgsysconfdir),g' $< >$@

View File

@ -1,10 +1,10 @@
#!/usr/bin/python
#!@PYTHON@
#
# capisuitefax - capisuite tool for enqueuing faxes
# ---------------------------------------------------
# copyright : (C) 2002 by Gernot Hillier
# email : gernot@hillier.de
# version : $Revision: 1.4 $
# version : $Revision: 1.1 $
#
# 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