web-logs/Makefile: Minor bug fixes.
authorMatt McCutchen <matt@mattmccutchen.net>
Thu, 17 Sep 2020 12:53:13 +0000 (08:53 -0400)
committerMatt McCutchen <matt@mattmccutchen.net>
Thu, 17 Sep 2020 12:53:13 +0000 (08:53 -0400)
web-logs/Makefile

index 563ebd6..c338031 100644 (file)
@@ -12,8 +12,8 @@ include config.mk
 # braces, like $G, always takes a single character as the variable name.
 G := generated
 
-# List the most important targets.  I think they pull in most of the rest.
-default: $G/logs-by-ip $G/requests
+# I think these targets pull in the rest. ~ 2020-09-17
+default: $G/logs-by-ip $G/requests $G/uas $G/uas-organic
 
 clean:
        rm -f $G/*
@@ -95,11 +95,11 @@ uas_command = <$< sed -re 's,$(log_line_regex),\9,; $(s_unescape_field)' | $(cou
 # the request level.  If I want to measure actual server load from bots, I could
 # come a little closer by looking at response size and whether CGIs are invoked.
 $G/uas: $G/logs-not-me
-       $(uas-command)
+       $(uas_command)
 
 # Ditto above but for non-bots or identifying new bots.
 $G/uas-organic: $G/logs-organic
-       $(uas-command)
+       $(uas_command)
 
 # We don't care about the order of IPs here.
 $G/logs-by-ip: $G/logs-organic