rsync := rsync --delete --verbose --progress --recursive --links --perms --times --compress --partial --rsh=ssh --rsync-path=/home/barrueco/bin/rsync
all: index.shtml
cd photo-album ; make
index.shtml: hpp/*.hpp hpp/prelude.def
ln -s hpp/*.hpp hpp/*.def .
htmlpp barrueco.hpp
rm -f *.hpp *.def
@perl -pi -e 's{(
Biography)}{Press Material$$1}g' index.shtml
# @echo;echo;echo "have you updated the new-after-date?"
check:
find . -name "*html" | egrep -v "(/\.|old/|stats/)" | xargs weblint
upload:
$(rsync) /var/www/.barrueco/ barrueco@www.towsonlawyer.com:/var/www/barrueco.com/htdocs/
clean:
rm -f *.html *.shtml *.hpp *.def