File:  [Local Repository] / db / html / Attic / Makefile
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Oct 19 02:44:52 2001 UTC (22 years, 8 months ago) by boris
Branches: MAIN
CVS tags: HEAD
added install

    1: ifndef ROOT
    2: ROOT = /home/znatoki
    3: endif
    4: PERL = perl
    5: TMPSAV = /tmp
    6: PMODE = 775
    7: LMODE = 664
    8: KULICHKI=kulichki.ru
    9: RSYNC = rsync -ruvpte ssh --delete --progress --rsync-path='~/bin/rsync'
   10: DESTHTMLSRC=~piataev/db/html
   11: 
   12: HTMLS = contribute.html \
   13: 	copyright.html \
   14: 	copyright_mozg.html \
   15: 	credits.html \
   16: 	dbmain.html \
   17: 	footer.html \
   18: 	guestbook.html \
   19: 	index.html \
   20: 	random.html \
   21: 	reklama.html \
   22: 	search.html  
   23: 
   24: 
   25: HTMLDIR = $(ROOT)/public_html/dimrub/db
   26: 
   27: 
   28: HTMLINSTALL = ${HTMLS:%.html=$(HTMLDIR)/%.html}
   29: 
   30: 
   31: $(HTMLDIR)/%.html:       %.html
   32: 	cp $< $@
   33: 
   34: all: $(HTMLINSTALL)
   35: 
   36: htmldeliver:
   37: 	$(RSYNC) ./*.html $(KULICHKI):$(DESTHTMLSRC)
   38: 
   39: 
   40: #prgdeliver:
   41: 	#$(RSYNC) ./ $(KULICHKI):$(DESTPRGSRC)
   42: 
   43: dbdeliver:
   44: 	mysqldump -u piataev chgk > $(DUMPDIR)/chgkdump
   45: 	$(RSYNC) $(DUMPDIR)/chgkdump  $(KULICHKI):$(DESTDUMPDIR)
   46: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>