Revision: 24804
          http://sourceforge.net/p/gar/code/24804
Author:   dmichelsen
Date:     2015-04-03 21:49:26 +0000 (Fri, 03 Apr 2015)
Log Message:
-----------
lang-python/graphite-web/trunk: Add more config files

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-04-03 
16:31:17 UTC (rev 24803)
+++ csw/mgar/pkg/lang-python/graphite-web/trunk/Makefile        2015-04-03 
21:49:26 UTC (rev 24804)
@@ -63,6 +63,10 @@
 TEST_SCRIPTS =
 
 PRESERVECONF += $(prefix)/apache2/etc/extra/graphite-vhost.conf
+
+# TBD: This needs customization of pathes
+PRESERVECONF += /opt/csw/lib/python2.6/site-packages/graphite/local_settings.py
+PRESERVECONF += /opt/csw/lib/python2.7/site-packages/graphite/local_settings.py
 PRESERVECONF += $(foreach F,$(CONFIG_FILES),$(localstatedir)/graphite/conf/$F)
 
 include gar/category.mk
@@ -73,6 +77,8 @@
 
 post-install:
        ginstall -D -m 0644 
$(DESTDIR)$(localstatedir)/graphite/examples/example-graphite-vhost.conf 
$(DESTDIR)$(prefix)/apache2/etc/extra/graphite-vhost.conf.CSW
-       rm -f 
$(DESTDIR)$(localstatedir)/graphite/examples/example-graphite-vhost.conf
+       rm -f 
$(DESTDIR)$(localstatedir)/graphite/examples/example-graphite-vhost.conf  
+       mv 
$(DESTDIR)/opt/csw/lib/python*/site-packages/graphite/local_settings.py.example 
\
+          
$(DESTDIR)/opt/csw/lib/python*/site-packages/graphite/local_settings.py.CSW
        cd $(DESTDIR)$(localstatedir)/graphite/conf; $(foreach 
F,$(CONFIG_FILES),mv $F.example $F.CSW;)
        @$(MAKECOOKIE)

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

Reply via email to