From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci Makefile cluster/Makefile homebase/ ...
Date: 30 Jun 2006 18:42:17 -0000 [thread overview]
Message-ID: <20060630184217.20993.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-06-30 18:42:17
Modified files:
luci : Makefile
Added files:
luci/cluster : Makefile
luci/homebase : Makefile
luci/storage : Makefile
Log message:
rework makefiles for import/export
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/Makefile.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/Makefile.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/Makefile.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/Makefile.diff?cvsroot=cluster&r1=NONE&r2=1.1
--- conga/luci/Makefile 2006/06/30 17:45:20 1.7
+++ conga/luci/Makefile 2006/06/30 18:42:16 1.8
@@ -1,9 +1,9 @@
-# $Id: Makefile,v 1.7 2006/06/30 17:45:20 rmccabe Exp $
+# $Id: Makefile,v 1.8 2006/06/30 18:42:16 rmccabe Exp $
+ZOPEINSTANCE=/var/lib/luci
all: luci
-
luci:
make -C site
make -C utils
@@ -38,60 +38,32 @@
make -C sysconfig distclean
make -C docs distclean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-PT_DIR=pts
-ZOPEUSER=admin
-ZOPEPASS=changeme
-ZOPEINSTANCE=/var/lib/luci
-PLONEINSTANCE=luci
-DBFILE=Data.fs
-ZOPEFTP=localhost:8021
-ZOPEHTTP=http://localhost:25639/
-ZOPEDIRS=cluster storage homebase
-HBDIR=homebase
-CLUSTERDIR=cluster
-STORAGEDIR=storage
-
all_old: tar
tar:
-# import page local page templates to the Luci server
-
import_storage:
- @find $(STORAGEDIR) -follow -maxdepth 1 -type f -print0 | xargs -0 ./load_site.py http://localhost:25639/luci/storage/
+ make -C storage import
+
+export_storage:
+ make -C storage export
import_cluster:
- @find $(CLUSTERDIR) -follow -maxdepth 1 -type f -print0 | xargs -0 ./load_site.py http://localhost:25639/luci/cluster/
+ make -C cluster import
-import_homebase:
- @find $(HBDIR) -follow -maxdepth 1 -type f -print0 | xargs -0 ./load_site.py http://localhost:25639/luci/homebase/
+export_cluster:
+ make -C cluster export
-import_pts: import_storage import_cluster import_homebase
+import_homebase:
+ make -C homebase import
-pt_dir:
- @mkdir pts >& /dev/null
+export_homebase:
+ make -C homebase export
-# export page templates from the Luci server
-export_pts: pt_dir
- @pwd=`pwd` ; cd $(PT_DIR) && \
- ( for i in $(ZOPEDIRS) ; do wget -q -r -nH --cut-dirs=1 "ftp://$(ZOPEUSER):$(ZOPEPASS)@$(ZOPEFTP)/$(PLONEINSTANCE)/$$i/*" ; done) ; cd $$pwd
+import_pts: import_storage import_cluster import_homebase
+export_pts: export_storage export_cluster export_homebase
pack:
- @./pack.py $(ZOPEINSTANCE)/var/Data.fs
+ @./pack.py $(ZOPEINSTANCE)/var/Data.fs && chown luci: $(ZOPEINSTANCE)/var/Data.fs
cert:
/cvs/cluster/conga/luci/cluster/Makefile,v --> standard output
revision 1.1
--- conga/luci/cluster/Makefile
+++ - 2006-06-30 18:42:17.544285000 +0000
@@ -0,0 +1,11 @@
+LUCI_USER=admin
+LUCI_PASS=changeme
+LUCI_FTP=localhost:8021
+LUCI_HTTP=http://localhost:25639/luci
+
+# import page local page templates to the Luci server
+import:
+ @find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/cluster/
+
+export:
+ @wget -q -r -nH --cut-dirs=2 "ftp://$(LUCI_USER):$(LUCI_PASS)@$(LUCI_FTP)/luci/cluster/*"
/cvs/cluster/conga/luci/homebase/Makefile,v --> standard output
revision 1.1
--- conga/luci/homebase/Makefile
+++ - 2006-06-30 18:42:17.634327000 +0000
@@ -0,0 +1,11 @@
+LUCI_USER=admin
+LUCI_PASS=changeme
+LUCI_FTP=localhost:8021
+LUCI_HTTP=http://localhost:25639/luci
+
+# import page local page templates to the Luci server
+import:
+ @find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/homebase/
+
+export:
+ @wget -q -r -nH --cut-dirs=2 "ftp://$(LUCI_USER):$(LUCI_PASS)@$(LUCI_FTP)/luci/homebase/*"
/cvs/cluster/conga/luci/storage/Makefile,v --> standard output
revision 1.1
--- conga/luci/storage/Makefile
+++ - 2006-06-30 18:42:17.714130000 +0000
@@ -0,0 +1,11 @@
+LUCI_USER=admin
+LUCI_PASS=changeme
+LUCI_FTP=localhost:8021
+LUCI_HTTP=http://localhost:25639/luci
+
+# import page local page templates to the Luci server
+import:
+ @find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/storage/
+
+export:
+ @wget -q -r -nH --cut-dirs=2 "ftp://$(LUCI_USER):$(LUCI_PASS)@$(LUCI_FTP)/luci/storage/*"
next reply other threads:[~2006-06-30 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 18:42 rmccabe [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-07-05 17:41 [Cluster-devel] conga/luci Makefile cluster/Makefile homebase/ rmccabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060630184217.20993.qmail@sourceware.org \
--to=rmccabe@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).