# $Id$ # $Date$ HTML_FILES=index.html dokumentation.html download.html cvs.html index.en.html \ lizenz.html datenpflege.html ueber-frida.html HTML_DIR=html all: mkdir -p $(HTML_DIR) for f in $(HTML_FILES) ; do\ rm -f $(HTML_DIR)/$$f ;\ m4 -DNO_LINK_FOR=$$f \ -DCURRENT_DATE="`export LC_ALL=de_DE ; date`"\ --prefix-builtins\ $$f.m4 > $(HTML_DIR)/$$f ;\ done mkdir -p $(HTML_DIR)/images cp images/*.png $(HTML_DIR)/images clean: rm -rf $(HTML_DIR) frida-www.tar.gz dist: clean all ( cd $(HTML_DIR) ; tar -czf ../frida-www.tar.gz . )