[Cluster-devel] conga/luci/docs Makefile

rmccabe at sourceware.org rmccabe at sourceware.org
Tue Oct 10 17:51:06 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2006-10-10 17:51:05

Modified files:
	luci/docs      : Makefile 

Log message:
	support importing the docs to the server via "make import"

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/docs/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2

--- conga/luci/docs/Makefile	2006/06/02 00:14:27	1.1
+++ conga/luci/docs/Makefile	2006/10/10 17:51:05	1.2
@@ -1,5 +1,11 @@
+LUCI_HOST=luci
+LUCI_USER=admin
+LUCI_PASS=changeme
+LUCI_FTP=$(LUCI_HOST):8021
+LUCI_HTTP=http://$(LUCI_HOST):8080/luci
 
-
+all:
+	@true
 
 docs:
 
@@ -13,4 +19,13 @@
 distclean:
 
 
+# import page local page templates to the Luci server
+import:
+	@if test "$(FILES)"; then \
+		../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/doc/ $(FILES) ; \
+	else \
+		find . -follow -maxdepth 1 -type f -not -name "Makefile*" -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/doc/ ; \
+	fi
 
+export:
+	@wget -q -r -nH --cut-dirs=2 "ftp://$(LUCI_USER):$(LUCI_PASS)@$(LUCI_FTP)/luci/doc/*"




More information about the Cluster-devel mailing list