all: index.html sync-push
DEST_HOST=ozzmosis.com
DEST_DIR=ozzmosis.com/photos/
index.html:
grep -i ^title */config.txt | sed 's/\/config.txt:title / /' > files.bbs
$(HOME)/bin/index > index.html
sync-push:
rsync -avP --del . $(DEST_HOST):$(DEST_DIR)
sync-pull:
rsync -avP $(DEST_HOST):$(DEST_DIR) .
clean:
rm -f index.html