Fixes: 91749a01cd22dc2a7d72 ("templates: add src-meson-prog template")
Signed-off-by: Roland Hieber <[email protected]>
---
 rules/templates/src-meson-prog/COPYING   | 2 +-
 rules/templates/src-meson-prog/wizard.sh | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/rules/templates/src-meson-prog/COPYING 
b/rules/templates/src-meson-prog/COPYING
index 1844a019b31f..7120ee8f0932 100644
--- a/rules/templates/src-meson-prog/COPYING
+++ b/rules/templates/src-meson-prog/COPYING
@@ -1,4 +1,4 @@
-Copyright (C) 2006 by Rob Landley <[email protected]>
+Copyright (C) @YEAR@ by @AUTHOR@
 
 Permission to use, copy, modify, and/or distribute this software for any 
purpose
 with or without fee is hereby granted.
diff --git a/rules/templates/src-meson-prog/wizard.sh 
b/rules/templates/src-meson-prog/wizard.sh
index 3753d8d0e67d..90375e9788c7 100644
--- a/rules/templates/src-meson-prog/wizard.sh
+++ b/rules/templates/src-meson-prog/wizard.sh
@@ -15,10 +15,15 @@ fi
 mv "@[email protected]" "${NAME}.c"
 
 for i in \
+       COPYING \
        meson.build \
        ${NAME}.c \
 ; do
-       sed -i -e "s/\@name\@/${NAME}/g" \
-              -e "s/\@version\@/${VERSION}/g" $i
+       sed -i \
+              -e "s/\@AUTHOR\@/${AUTHOR}/g" \
+              -e "s/\@YEAR\@/${YEAR}/g" \
+              -e "s/\@name\@/${NAME}/g" \
+              -e "s/\@version\@/${VERSION}/g" \
+              $i
 done
 
-- 
2.20.1


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to