[gnome-applets] configuer.ac: remove invest-applet/invest/defs.py



commit d057722cc3154fdee84e19d6492dd87da3df113e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Sep 27 18:42:44 2015 +0300

    configuer.ac: remove invest-applet/invest/defs.py

 configure.ac                     |    1 -
 invest-applet/invest/Makefile.am |   14 ++++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 650e035..e2793ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -734,7 +734,6 @@ AC_CONFIG_FILES([
   invest-applet/data/art/Makefile
   invest-applet/data/Makefile
   invest-applet/help/Makefile
-  invest-applet/invest/defs.py
   invest-applet/invest/Makefile
   invest-applet/Makefile
 
diff --git a/invest-applet/invest/Makefile.am b/invest-applet/invest/Makefile.am
index 286b974..4b0d656 100644
--- a/invest-applet/invest/Makefile.am
+++ b/invest-applet/invest/Makefile.am
@@ -1,6 +1,20 @@
 invest-applet: invest-applet.py
        sed -e "s|\ PYTHONDIR\@|$(pythondir)/|" $< > $@
 
+defs.py: defs.py.in
+       sed \
+               -e "s|\ DATADIR\@|$(datadir)|" \
+               -e "s|\ LIBDIR\@|$(libdir)|" \
+               -e "s|\ VERSION\@|$(VERSION)|" \
+               -e "s|\ PACKAGE\@|$(PACKAGE)|" \
+               -e "s|\ PKGDATADIR\@|$(pkgdatadir)|" \
+               -e "s|\ PYTHONDIR\@|$(pythondir)|" \
+               -e "s|\ GETTEXT_PACKAGE\@|$(GETTEXT_PACKAGE)|" \
+               -e "s|\ GNOMELOCALEDIR\@|$(localedir)|" \
+               -e "s|\ BUILDERDIR\@|$(pkgdatadir)/builder|" \
+               -e "s|\ LIBPANEL_APPLET_API_VERSION\@|$(LIBPANEL_APPLET_API_VERSION)|" \
+               $< > $@
+
 bin_SCRIPTS = invest-chart
 
 libexec_SCRIPTS = invest-applet


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]