Commit afc85de8 authored by Vincent Untz's avatar Vincent Untz
Browse files

[panel] Add shebang to gnome-panel-add script

We need to add AM_PATH_PYTHON to configure.in, and update the build
system to generate gnome-panel-add from gnome-panel-add.in.
parent 2da18839
......@@ -31,6 +31,7 @@ AC_PROG_LIBTOOL
#AC_PROG_SED available in 2.59b
AM_PROG_CC_C_O
AM_PATH_PYTHON
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
AC_PATH_PROG(GCONFTOOL, gconftool-2)
......
......@@ -181,6 +181,10 @@ ui_DATA = \
libexec_SCRIPTS = gnome-panel-add
gnome-panel-add: gnome-panel-add.in Makefile
$(AM_V_GEN)sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@
$(AM_V_at)chmod a+x $@
EXTRA_DIST = \
$(ui_DATA) \
nothing.cP \
......@@ -192,7 +196,7 @@ EXTRA_DIST = \
gnome-panelrc \
$(entries_DATA) \
$(desktop_DATA) \
$(libexec_SCRIPTS)
gnome-panel-add.in
@INTLTOOL_DESKTOP_RULE@
......@@ -277,7 +281,8 @@ CLEANFILES = \
$(BUILT_SOURCES) \
$(schemas_in_files:.schemas.in=.schemas) \
$(sys_DATA) \
$(desktop_DATA)
$(desktop_DATA) \
gnome-panel-add
dist-hook:
cd $(distdir) ; rm -f $(CLEANFILES)
......
#!@PYTHON@
# vim: set ts=4 sw=4 et:
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment