From: j8takagi Date: Thu, 28 Sep 2023 13:37:02 +0000 (+0900) Subject: "make copyright" でcopyrightの年を自動更新するように X-Git-Tag: v0.5p25 X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4425276f3b7d1191e3b5c2b0c4521115030dd279;hp=07c8372e461f220c93bec14ffc4b5808442c3670;p=YACASL2.git "make copyright" でcopyrightの年を自動更新するように --- diff --git a/LICENSE b/LICENSE index 98f7997..9dec34a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2010-2021, j8takagi. +Copyright (c) 2010-2023, j8takagi. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 6397760..ace1e95 100644 --- a/Makefile +++ b/Makefile @@ -2,12 +2,13 @@ check valgrind \ doc alldoc doc_inner \ install uninstall \ - version gittag \ + version gittag copyright \ clean src-clean gtags-clean \ test-clean doc-clean doc_inner-clean CAT := cat CP := cp -v +DATE := date ECHO := /bin/echo EXPR := expr GIT := git @@ -15,6 +16,7 @@ GREP := grep GTAGS := gtags INSTALL := install SED := sed +SEDI := $(SED) -i WC := wc WHICH := which XARGS := xargs @@ -36,7 +38,9 @@ VERSIONFILES := include/version.h \ CMDFILES := casl2 comet2 dumpword casl2rev comet2monitor -all: build INSTALL gtags +YEAR := $(shell $(DATE) '+%Y') + +all: copyright INSTALL build gtags build: version $(MAKE) -C src all @@ -88,6 +92,10 @@ $(VERSIONFILES): VERSION gittag: if test `$(GIT) status -s | $(WC) -l` -gt 0; then $(ECHO) "Error: commit, first."; exit 1; fi; if test "$(VERSIONGITREF)" != "$(MASTERGITREF)"; then $(GIT) tag $(VERSION); fi +copyright: + $(SEDI) 's/Copyright (c) 2010-20[0-9][0-9]/Copyright (c) 2010-$(YEAR)/' LICENSE README + $(SEDI) 's/Copyright @copyright{} 2010-20[0-9][0-9]/Copyright @copyright{} 2010-$(YEAR)/' doc/*.texi + distclean: cmd-clean src-distclean gtags-clean version-clean clean clean: src-clean doc-clean doc_inner-clean diff --git a/README b/README index c95b969..63fb9d8 100644 --- a/README +++ b/README @@ -7,9 +7,9 @@ YACASL2は、UNIX/Linuxのコマンドラインインターフェイスで動 オープンソースのCASL II処理システムです。 CASL IIは、情報処理試験で用いられるアセンブラ言語で、次の資料で仕様が定義されています。 - 情報処理技術者試験 情報処理安全確保支援士試験 試験で使用する情報技術に関する用語・プログラム言語など Ver 4.3 - https://www.ipa.go.jp/shiken/syllabus/ps6vr7000000i9g3-att/shiken_yougo_ver4_3.pdf - 別紙 2 アセンブラ言語の仕様 + 情報処理技術者試験 情報処理安全確保支援士試験 試験で使用する情報技術に関する用語・プログラム言語など Ver 4.2 + https://www.jitec.ipa.go.jp/1_13download/shiken_yougo_ver4_2.pdf (PDFファイル) + 別紙 1 アセンブラ言語の仕様 同梱ドキュメント @@ -30,7 +30,7 @@ YACASL2のWebサイトは、次のURLです。 ライセンス ****************** -Copyright 2010-2023, j8takagi. +Copyright (c) 2010-2023, j8takagi. YACASL2 is licensed under the MIT license. ライセンスの詳細は、同梱のLICENSEを参照してください。 diff --git a/VERSION b/VERSION index dbd719c..a1c9d48 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.5p24 +v0.5p25 diff --git a/doc/manual.texi b/doc/manual.texi index a50e7d0..be9da73 100644 --- a/doc/manual.texi +++ b/doc/manual.texi @@ -76,9 +76,9 @@ CASL IIは情報処理試験で用いられるアセンブラ言語で、 @cartouche @end iftex @quotation -@uref{https://www.ipa.go.jp/shiken/syllabus/ps6vr7000000i9g3-att/shiken_yougo_ver4_3.pdf, 情報処理技術者試験 情報処理安全確保支援士試験 試験で使用する情報技術に関する用語・プログラム言語など Ver 4.3}ï¼»PDFファイル] +@uref{https://www.jitec.ipa.go.jp/1_13download/shiken_yougo_ver4_2.pdf, 情報処理技術者試験 情報処理安全確保支援士試験 試験で使用する情報技術に関する用語・プログラム言語など Ver 4.2}ï¼»PDFファイル] -別紙 2 アセンブラ言語の仕様 +別紙 1 アセンブラ言語の仕様 @end quotation @iftex @end cartouche