diff Makefile @ 514:947ea334735d stable-1.9.4-6

update copyrights
author Carl Byington <carl@five-ten-sg.com>
date Fri, 10 Feb 2023 19:13:58 -0700
parents 13a922d1fc5c
children caba9dfe7a89
line wrap: on
line diff
--- a/Makefile	Fri Feb 10 17:16:47 2023 -0700
+++ b/Makefile	Fri Feb 10 19:13:58 2023 -0700
@@ -122,6 +122,11 @@
 	make builder style=release
 	make builder style=debug
 
+update.copyrights:
+	sed -i -re 's/(Copyright .C. ....-).... /\1$(year) /g' app/src/main/java/ch/ethz/ssh2/crypto/SecureRandomFix.java
+	sed -i -re 's/(Copyright . ....-).... /\1$(year) /g'   app/src/main/res/values/notrans.xml
+	sed -i -re 's/(Copyright .C. ....-).... /\1$(year) /g' xml/510connectbot.in
+
 push:
 	# from from android build machine
 	hg push ssh://ns.five-ten-sg.com/usr/hg/510Connectbot || /bin/true
@@ -134,6 +139,8 @@
 	scp -p html/* root@ns1.five-ten-sg.com://home/httpd/html/510sg/510Connectbot
 
 #
+# make update.copyrights year=2023
+
 # release procedure
 # make any changes
 # hg commit -m 'commit message'