[Dev OpenGP] [131] Edit config file by make config

[ Thread Index | Date Index | More opengp.tuxfamily.org/development Archives ]


Revision: 131
Author:   alband85
Date:     2009-03-27 03:34:42 +0100 (Fri, 27 Mar 2009)

Log Message:
-----------
Edit config file by make config

Modified Paths:
--------------
    trunk/Makefile


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2009-03-27 02:29:23 UTC (rev 130)
+++ trunk/Makefile	2009-03-27 02:34:42 UTC (rev 131)
@@ -14,6 +14,8 @@
 script_path=$(INITD)/$(INIT_SCRIPT_NAME)
 bin_path=$(SBIN)/$(DAEMON_NAME)
 
+CONFIG=/etc/ogpdaemon.conf
+
 all: binaries
 
 binaries:
@@ -45,8 +47,8 @@
 .PHONY: config clean mrproper 
 
 config:
+	$$EDITOR $(CONFIG)
 
-
 clean:
 	@echo "Removing .pyc files"
 	@find $(OGPLIB) -name '*.pyc' -exec rm -v '{}' \; -print


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/