[Linedit-cvs] CVS src

nsiivola nsiivola at common-lisp.net
Fri Feb 15 11:23:26 UTC 2008


Update of /project/linedit/cvsroot/src
In directory clnet:/tmp/cvs-serv2011

Modified Files:
	Makefile 
Log Message:
updated Makefile

--- /project/linedit/cvsroot/src/Makefile	2003/11/24 22:56:38	1.20
+++ /project/linedit/cvsroot/src/Makefile	2008/02/15 11:23:26	1.21
@@ -9,7 +9,6 @@
 # source directory).
 #
 # ../public_html/
-# ../ftp/
 #
 
 # Fill in you project name
@@ -23,7 +22,6 @@
 FILES=`cat release.txt`
 
 HTML=../public_html
-FTP=../ftp
 DATE=`date +%F`
 NAME=$(PROJECT)_$(VERSION)
 LINK=$(PROJECT)_latest.tar.gz
@@ -32,13 +30,10 @@
 
 CLNET=$(USERNAME)@common-lisp.net
 CLNET_HOME=/project/$(PROJECT)
-CLNET_FTP=$(CLNET_HOME)/ftp/
 CLNET_HTML=$(CLNET_HOME)/public_html/
 
-FTP_PERMS=ssh $(CLNET) "chgrp -R $(PROJECT) $(CLNET_FTP) && chmod -R ug+rw,o-w $(CLNET_FTP)/*"
 HTML_PERMS=ssh $(CLNET) "chgrp -R $(PROJECT) $(CLNET_HTML) && chmod -R ug+rw,o-w $(CLNET_HTML)*"
 RSYNC=rsync -vlcrC 
-RSYNC_FTP=$(RSYNC) $(FTP)/. $(CLNET):$(CLNET_FTP)
 RSYNC_HTML=$(RSYNC) $(HTML)/. $(CLNET):$(CLNET_HTML)
 
 .PHONY: snapshot release public_html
@@ -56,23 +51,22 @@
 	mkdir -p $(SNAPSHOT)
 	cp $(FILES) $(SNAPSHOT)/
 	tar -czvf $(SNAPSHOT).tar.gz $(SNAPSHOT)
+	rm -rf $(SNAPSHOT)/ $(SNAPSHOT).tar.gz.asc $(SNAPLINK) $(SNAPLINK).asc
 	gpg -b -a $(SNAPSHOT).tar.gz
-	rm -rf $(SNAPSHOT)
 	ln -s $(SNAPSHOT).tar.gz.asc $(SNAPLINK).asc
 	ln -s $(SNAPSHOT).tar.gz $(SNAPLINK)
-	mv $(SNAPSHOT).tar.gz $(SNAPSHOT).tar.gz.asc $(SNAPLINK) $(SNAPLINK).asc $(FTP)
-	$(RSYNC_FTP) && $(FTP_PERMS)
+	mv $(SNAPSHOT).tar.gz $(SNAPSHOT).tar.gz.asc $(SNAPLINK) $(SNAPLINK).asc $(HTML)/files/
 
 release:
 	mkdir -p $(NAME)
 	cp $(FILES) $(NAME)/
 	tar -czvf $(NAME).tar.gz $(NAME)
+	rm -rf $(NAME)/ $(NAME).tar.gz.asc $(LINK) $(LINK).asc
 	gpg -b -a $(NAME).tar.gz
-	rm -rf $(NAME)
 	ln -s $(NAME).tar.gz.asc $(LINK).asc
 	ln -s $(NAME).tar.gz $(LINK)
 	mv $(NAME).tar.gz $(NAME).tar.gz.asc $(LINK) $(LINK).asc $(HTML)/files/
-#	$(RSYNC_FTP) && $(FTP_PERMS)
+	cp version.lisp-expr $(HTML)/
 
 public_html:
 	$(RSYNC_HTML) && $(HTML_PERMS)




More information about the linedit-cvs mailing list