From ec42220e7773fba548e379606fe445cb30f4c424 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 29 Apr 2020 17:57:32 +0200 Subject: Makefile: generate descriptions on-the-fly Checking in the generated descriptions files makes few things simpler, but causes pain for pull requests: (1) PRs that touch descriptions _always_ conflict, (2) PRs are large and harder to review, (3) people sometimes forget to add auto-generated files. The proposed way does not require us to hardcode lots of dependencies in the Makefile (which is nice) and seem to work. Let's see how it works. The main contributor-visible consequence is that the auto-generated files do not need to be checked-in now. Credit for figuring the Makefile magic goes to @melver. Fixes #1291 --- sys/linux/gen/empty.go | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 sys/linux/gen/empty.go (limited to 'sys/linux/gen/empty.go') diff --git a/sys/linux/gen/empty.go b/sys/linux/gen/empty.go deleted file mode 100644 index 5baff07bf..000000000 --- a/sys/linux/gen/empty.go +++ /dev/null @@ -1,3 +0,0 @@ -// AUTOGENERATED FILE -// This file is needed if OS is completely excluded by build tags. -package gen -- cgit mrf-deployment