diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2012-09-07 12:04:40 +0200 |
---|---|---|
committer | Sjoerd Simons <sjoerd@luon.net> | 2012-09-07 12:04:56 +0200 |
commit | 423a8d704c417a51142f4414297255f7964ae742 (patch) | |
tree | 992628ac5e2667ac90663207040cc2b36bdbdad8 | |
parent | 7fece1550b3c4e4989242b1143fd801f9966cc83 (diff) |
Add installable wrappers for phoenix & phoenix-test
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/Makefile.am | 19 | ||||
-rw-r--r-- | src/phoenix-test.in | 3 | ||||
-rw-r--r-- | src/phoenix.in | 3 |
4 files changed, 26 insertions, 1 deletions
@@ -34,4 +34,6 @@ data/phoenix/uninstalled src/phoenix-authenticator src/phoenix-echo-call +src/phoenix +src/phoenix-test *.o diff --git a/src/Makefile.am b/src/Makefile.am index ec54e30..7cd79e0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,10 +2,19 @@ EXTRA_DIST = \ approver.py \ echo-text.py \ phoenix.py \ + phoenix-test.py \ util.py \ - echo-call-info.xml + echo-call-info.xml \ + $(bin_SCRIPTS_IN) + +bin_SCRIPTS=phoenix phoenix-test +bin_SCRIPTS_IN=phoenix.in phoenix-test.in + +pythondir = $(pkgdatadir) +python_DATA=phoenix.py phoenix-test.py util.py libexec_PROGRAMS = phoenix-authenticator phoenix-echo-call +libexec_SCRIPTS = phoenix-echo-text phoenix-approver phoenix_authenticator_SOURCES = authenticator.c phoenix_authenticator_CFLAGS = @GLIB_CFLAGS@ @TP_GLIB_CFLAGS@ @@ -17,3 +26,11 @@ phoenix_echo_call_CFLAGS = @GLIB_CFLAGS@ @TP_GLIB_CFLAGS@ \ @TP_FARSTREAM_CFLAGS@ phoenix_echo_call_LDFLAGS = @GLIB_LIBS@ @TP_GLIB_LIBS@ \ @TP_FARSTREAM_LIBS@ + +phoenix: phoenix.in + sed -e "s,PKGDATADIR,$(pkgdatadir)," < $< > $@ + +phoenix-test: phoenix-test.in + sed -e "s,PKGDATADIR,$(pkgdatadir)," < $< > $@ + +CLEANFILES = $(bin_SCRIPTS) diff --git a/src/phoenix-test.in b/src/phoenix-test.in new file mode 100644 index 0000000..d341d6a --- /dev/null +++ b/src/phoenix-test.in @@ -0,0 +1,3 @@ +#!/bin/sh + +exec python "PKGDATADIR/phoenix-test.py" $@ diff --git a/src/phoenix.in b/src/phoenix.in new file mode 100644 index 0000000..156f0c2 --- /dev/null +++ b/src/phoenix.in @@ -0,0 +1,3 @@ +#!/bin/sh + +exec python "PKGDATADIR/phoenix.py" $@ |