[defdoc-cvs] CVS update: DefDoc/website/Makefile

Rahul Jain rjain at common-lisp.net
Sat Feb 14 21:02:49 UTC 2004


Update of /project/defdoc/cvsroot/DefDoc/website
In directory common-lisp.net:/tmp/cvs-serv9536/website

Modified Files:
	Makefile 
Log Message:
add upload target and tweak perms on files installed to the web site

Date: Sat Feb 14 16:02:49 2004
Author: rjain

Index: DefDoc/website/Makefile
diff -u DefDoc/website/Makefile:1.1 DefDoc/website/Makefile:1.2
--- DefDoc/website/Makefile:1.1	Sat Feb 14 15:41:22 2004
+++ DefDoc/website/Makefile	Sat Feb 14 16:02:48 2004
@@ -1,13 +1,19 @@
 INSTALL="/usr/bin/install"
 
-WEBDIR="../public_html"
+WEBDIR="public_html"
 
-install: install-html install-docs
+upload: install
+	scp -r public_html/ common-lisp.net:/project/defdoc/
+
+$(WEBDIR):
+	mkdir $@
+
+install: $(WEBDIR) install-html install-docs
 
 install-docs: install-overview
 
 install-overview: overview.pdf overview.ps ../doc/overview.tex
-	$(INSTALL) $^ $(WEBDIR)
+	$(INSTALL) -m 644 $^ $(WEBDIR)
 
 overview.pdf overview.ps: ../doc/overview.tex overview.bbl
 
@@ -18,7 +24,7 @@
 	ln -s $< $@
 
 install-html:
-	$(INSTALL) $(wildcard *.html) $(WEBDIR)
+	$(INSTALL) -m 644 $(wildcard *.html) $(WEBDIR)
 
 
 #





More information about the Defdoc-cvs mailing list