SF.net SVN: gar:[25121] csw/mgar/pkg/lang-python/graphite-web/trunk/ Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jun 25 13:41:15 CEST 2015


Revision: 25121
          http://sourceforge.net/p/gar/code/25121
Author:   dmichelsen
Date:     2015-06-25 11:41:15 +0000 (Thu, 25 Jun 2015)
Log Message:
-----------
lang-python/graphite-web/trunk: More path fixes

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile

Modified: csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile	2015-06-25 11:20:59 UTC (rev 25120)
+++ csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile	2015-06-25 11:41:15 UTC (rev 25121)
@@ -61,9 +61,6 @@
 
 CONFDIR = $(sysconfdir)/graphite
 STORAGEDIR = $(localstatedir)/graphite
-
-CONFDIR = $(sysconfdir)/graphite
-STORAGEDIR = $(localstatedir)/graphite
 WEBAPPDIR = $(sharedstatedir)/graphite
 
 # Taken from local_settings.py.example
@@ -89,6 +86,16 @@
 REINPLACE_WITH_localsettings_content = CONTENT_DIR = "$(WEBAPPDIR)/webapp/content"
 REINPLACE_FILES_localsettings_content += webapp/graphite/local_settings.py.example
 
+REINPLACEMENTS += buildindex
+REINPLACE_MATCH_buildindex = GRAPHITE_STORAGE_DIR\s*=.*
+REINPLACE_WITH_buildindex = GRAPHITE_STORAGE_DIR="$(STORAGEDIR)"
+REINPLACE_FILES_buildindex += bin/build-index.sh
+
+REINPLACEMENTS += python27
+REINPLACE_MATCH_python27 = \#!.*
+REINPLACE_WITH_python27 = \#!$(bindir)/python2.7
+REINPLACE_FILES_python27 += webapp/graphite/manage.py
+
 EXTRA_INSTALL_ARGS += --install-data=$(CONFDIR)
 
 CONFIG_FILES += dashboard.conf

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list