Commit 9112c808 authored by Antoine Cellerier's avatar Antoine Cellerier

Oops.

parent c65b0571
......@@ -55,7 +55,7 @@ clean: clean-recursive
$(ROOT)/include/mirrors.php: $(ROOT)/include/mirrors
@echo "Processing $< ..."
awk -F '|' 'BEGIN { print "/* This file is automatically generated from the mirrors file. Do not edit */\nmirrors = {" } !/^#/{print " { \""$$1"\", \""$$2"\", \""$$3"\", \""$$4"\", \""$$5"\", "$$6" },"} END { print "};" }' $< > $<.php
awk -F '|' 'BEGIN { print "<?php\n/* This file is automatically generated from the mirrors file. Do not edit */\nmirrors = {" } !/^#/{print " { \""$$1"\", \""$$2"\", \""$$3"\", \""$$4"\", \""$$5"\", "$$6" },"} END { print "};\n?>" }' $< > $<.php
.PHONY: clean all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment