diff options
Diffstat (limited to 'actions/services')
-rw-r--r-- | actions/services/Makefile.am | 10 | ||||
-rwxr-xr-x | actions/services/__init__.py.in (renamed from actions/services/__init__.py) | 14 |
2 files changed, 22 insertions, 2 deletions
diff --git a/actions/services/Makefile.am b/actions/services/Makefile.am index 2a28c48..50aa099 100644 --- a/actions/services/Makefile.am +++ b/actions/services/Makefile.am @@ -2,4 +2,12 @@ servicesdir = $(ACTIONSDIR)/services services_SCRIPTS = \ __init__.py -EXTRA_DIST = $(services_SCRIPTS) +__init__.py: __init__.py.in + sed \ + -e 's,@PYTHON\@,$(PYTHON),g' \ + $< > $@ + chmod +x $@ + + + +EXTRA_DIST = __init__.py.in diff --git a/actions/services/__init__.py b/actions/services/__init__.py.in index 748e53c..dc64db4 100755 --- a/actions/services/__init__.py +++ b/actions/services/__init__.py.in @@ -1,4 +1,16 @@ -#!/usr/bin/python +#!@PYTHON@ +# -*-python-*- +# Copyright (C) 2005 by Sebastien Estienne +# +# This file may be distributed and/or modified under the terms of +# the GNU General Public License version 2 as published by +# the Free Software Foundation. +# This file is distributed without any warranty; without even the implied +# warranty of merchantability or fitness for a particular purpose. +# See "COPYING" in the source distribution for more information. +# +# $id$ +# import subprocess import gnome |