From 68555abe74cf9608fad7232786afd87a9e2011df Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Tue, 28 Mar 2023 16:57:18 +0900 Subject: [PATCH] third_party: Add Makefile to generate copyright file --- third_party/Makefile.copying | 8 ++++++++ third_party/README.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 third_party/Makefile.copying diff --git a/third_party/Makefile.copying b/third_party/Makefile.copying new file mode 100644 index 00000000..ee3ef011 --- /dev/null +++ b/third_party/Makefile.copying @@ -0,0 +1,8 @@ + +copying: copying_third_party.h + +copying_third_party.h: + bin2c copying_third_party < COPYING-THIRD-PARTY > copying_third_party.h + +clean: + rm -f copying_third_party.h diff --git a/third_party/README.md b/third_party/README.md index dbce4f27..becd79c2 100644 --- a/third_party/README.md +++ b/third_party/README.md @@ -20,5 +20,5 @@ adding new third-party libraries. 1. Install [adobe/bin2c](https://github.com/adobe/bin2c) to your development environment 2. Write all third-party license terms to `COPYING-THIRD-PARTY` -3. Run `make copying` to generate `copying_third_party.h` +3. Run `make -f Makefile.copying` to generate `copying_third_party.h` 4. Commit generated `copying_third_party.h`