[sword-svn] r1732 - trunk

dglassey at crosswire.org dglassey at crosswire.org
Wed Feb 23 09:09:34 MST 2005


Author: dglassey
Date: 2005-02-23 09:09:33 -0700 (Wed, 23 Feb 2005)
New Revision: 1732

Modified:
   trunk/Makefile.am
Log:
Sorry Troy, putting back install_config target as it is suggested to users.\nAlso get it right in the description of where make install_config will install it to

Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am	2005-02-23 15:42:14 UTC (rev 1731)
+++ trunk/Makefile.am	2005-02-23 16:09:33 UTC (rev 1732)
@@ -121,7 +121,7 @@
 	@echo "sword is installed."
 	@echo ""
 	@echo "if this is your first time, you may need a basic global"
-	@echo "configuration file.  one can be generated to /etc/sword.conf"
+	@echo "configuration file.  one can be generated to $(DESTDIR)$(sysconfdir)/sword.conf"
 	@echo "by typing: \"make install_config\""
 	@echo ""
 	@echo "modules (Bibles, etc.), may then be unzipped to $(pkgdatadir)/"
@@ -146,6 +146,12 @@
 	@echo "The output of this command has been sent to CrossWire-- thank you.  Enjoy!"
 	@echo ""
 
+install_config: 
+	@echo "[Install]" > $(DESTDIR)$(sysconfdir)/sword.conf
+	@echo "DataPath=$(pkgdatadir)/" >> $(DESTDIR)$(sysconfdir)/sword.conf
+	@echo "sword.conf generated"
+
+
 dist-hook:
 	(cd $(distdir) && ./autogen.sh)
 	rm -r $(distdir)/autom4te.cache



More information about the sword-cvs mailing list