# $Id$ # $Date$ HTML_M4_FILES=osnabrueck.html query-header.html query-footer.html \ query-zoomto-feature-header.html query-error.html \ osnabrueck-java.html HTML_FILES=query-strassen.html query-sonststrassen.html query-autobahn.html \ query-nebenstrassen.html query-bundesstrassen.html \ query-hauptstrassen.html \ query-poi.html query-poi-header.html CGI_M4_FILES=error-report HTML_DIR=html all: mkdir -p $(HTML_DIR) for f in $(HTML_M4_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 cp $(HTML_FILES) $(HTML_DIR) mkdir -p $(HTML_DIR)/images cp images/*.png images/*.gif $(HTML_DIR)/images cp osnabrueck.map symbols fonts.list $(HTML_DIR) mkdir -p $(HTML_DIR)/cgi-bin for f in $(CGI_M4_FILES) ; do\ rm -f $(HTML_DIR)/cgi-bin/$$f ;\ m4 -DCURRENT_DATE="`export LC_ALL=de_DE ; date`"\ --prefix-builtins\ $$f.m4 > $(HTML_DIR)/cgi-bin/$$f ;\ done chmod +x $(HTML_DIR)/cgi-bin/* clean: rm -rf $(HTML_DIR) frida-umn-mapserver.tar.gz dist: clean all rm -rf frida-umn-mapserver mv $(HTML_DIR) frida-umn-mapserver tar -czf frida-umn-mapserver.tar.gz frida-umn-mapserver mv frida-umn-mapserver $(HTML_DIR)