Expanded for readability but otherwise identical code.
sitemap.xml: tools/mksitemap
$(call cmdsave,$<)
sitemap.xml: tools/mksitemap
$(call cmdsave,$<)
-light.css: base.css
- $(call cmdsave,perl -pe '\''s!\s*/\*.*\*/\Z!!; s/^\s*//; s/\h+/ /g; s/:\K\h+//;'\'',$<)
+light.css: tools/stripcss base.css
+ $(call cmdsave,$^)
data/DerivedAge.txt:
tools/wget-ifmodified http://www.unicode.org/Public/UNIDATA/$(@F) $@
data/DerivedAge.txt:
tools/wget-ifmodified http://www.unicode.org/Public/UNIDATA/$(@F) $@
--- /dev/null
+#!/usr/bin/env perl
+use 5.014;
+use warnings;
+
+while (<>) {
+ s!\s*/\*.*\*/\Z!!; # comments
+ s/^\s*//; # indentation and empty lines
+ s/\h+/ /g; # alignment
+ s/:\K\h//; # separators
+ print;
+}