# Build -currnet tarball of pbrowser and upload it to
# public_html.

DORIG="pb-browser"
WWWDIR="gw:public_html/"
SUFX="-current"


all: current

current:
	@cp -r $(DORIG) $(DORIG)$(SUFX)
	@find ./$(DORIG)$(SUFX) -name 'CVS' -exec rm -rf {} \;
	@tar cvzf ./$(DORIG)$(SUFX).tgz ./$(DORIG)-current
	@scp ./$(DORIG)$(SUFX).tgz $(WWWDIR)
	@rm -rf $(DORIG)$(SUFX)*
	
	

 
