# $Id: Makefile,v 1.2 1999/09/17 04:28:46 maffew Exp $

# makefile for active local news stuff

# scripts to forget the passwords ready for source distribution
forget:
	perl -pi -e 's/manage_pwd = ".*?"/manage_pwd = "changeme"/g;' password_protect.php3

# create any needed blank files
regen:
	touch cache/front_page_news.html
	chmod 666 cache/front_page_news.html

# maffew's stuff to automate syncing between my home poota and the server
get:
	rsync -avuz --exclude '*~' black:adev/active/local/news/ .

put:
	rsync -Cavuz . black:adev/active/local/news/

sync: get put
