--- db/prgsrc/Makefile 2002/10/14 01:13:35 1.18 +++ db/prgsrc/Makefile 2002/11/11 09:14:30 1.28 @@ -9,7 +9,7 @@ KULICHKI=znatoki.kulichki.net RSYNC = rsync -ruvpte ssh --delete --progress --rsync-path='~/bin/rsync' SCP=scp DESTSRCDIR=~piataev/public_html/dimrub/src/ -SRCDIR=../baza/ +SRCDIR=../baza DESTPRGSRC=~piataev/db/prgsrc DUMPDIR=../dump DESTDUMPDIR=/var/tmp/ @@ -60,7 +60,7 @@ HTMLS = contribute.html \ search.html - +TEXTS = $(SRCDIR)/*.txt DBBIN = ../bin @@ -86,7 +86,7 @@ $(DBBIN)/%.pl: %.pl cp $< $@ chmod $(PMODE) $@ if [ -f $(TMPSAV)/$(@F) ]; then rm -f $(TMPSAV)/$(@F); fi - + $(CGIBIN)/%.cgi: %.cgi ${PERL} -c $< - pod2man --center "Internet Club DB" $< > $*.1 @@ -136,7 +136,10 @@ $(HTMLDIR)/%.html: %.html cp $< $@ +$(UNSORTED): TEXTS +$(SRCDIR)/%.txt: + updatedb $< srcdeliver: $(RSYNC) $(SRCDIR) $(KULICHKI):$(DESTSRCDIR) @@ -152,4 +155,12 @@ dbdeliver: rm $(DUMPDIR)/chgkdump.0 $(SCP) $(DUMPDIR)/chgkdump.gz $(KULICHKI):$(DESTDUMPDIR) - +update: + cvs update $(SRCDIR) + mysql -upiataev chgk