projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial revision
[chise/xemacs-chise.git.1]
/
netinstall
/
version.pl
diff --git a/netinstall/version.pl
b/netinstall/version.pl
new file mode 100644
(file)
index 0000000..
60be739
--- /dev/null
+++ b/
netinstall/version.pl
@@ -0,0
+1,6
@@
+while (<STDIN>) {
+ if (/^\$Revision:\s*([0-9\.]*)/) {
+ print "char *version = \"$1\";\n";
+ print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
+ }
+}