mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
Merge branch 'mpx' of https://github.com/tuxbox-neutrino/library-stb-hal
Origin commit data
------------------
Branch: master
Commit: bb54f965df
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-14 (Tue, 14 Nov 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
22
.gitignore
vendored
22
.gitignore
vendored
@@ -1,31 +1,21 @@
|
|||||||
/m4/
|
|
||||||
/autom4te.cache/
|
|
||||||
/aclocal.m4
|
/aclocal.m4
|
||||||
|
/autom4te.cache/
|
||||||
|
Makefile.in
|
||||||
/compile
|
/compile
|
||||||
/config.guess
|
/config.guess
|
||||||
/config.h.in
|
/config.h.in
|
||||||
/config.h.in~
|
|
||||||
/config.sub
|
/config.sub
|
||||||
/configure
|
/configure
|
||||||
/depcomp
|
/depcomp
|
||||||
/install-sh
|
/install-sh
|
||||||
/common/Makefile.in
|
|
||||||
/libeplayer3/Makefile.in
|
|
||||||
/libdvbci/Makefile.in
|
|
||||||
/libduckbox/Makefile.in
|
|
||||||
/libspark/Makefile.in
|
|
||||||
/libtriple/Makefile.in
|
|
||||||
/azbox/Makefile.in
|
|
||||||
/generic-pc/Makefile.in
|
|
||||||
/raspi/Makefile.in
|
|
||||||
/ltmain.sh
|
/ltmain.sh
|
||||||
|
/m4/
|
||||||
/missing
|
/missing
|
||||||
/Makefile.in
|
*.*~
|
||||||
/tools/Makefile.in
|
|
||||||
*.a
|
*.a
|
||||||
*.la
|
*.la
|
||||||
*.lai
|
*.lai
|
||||||
*.Plo
|
|
||||||
*.o
|
|
||||||
*.lo
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.Plo
|
||||||
*.Po
|
*.Po
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
AC_INIT([libstb-hal], [0.1.1])
|
AC_INIT([libstb-hal], [1.0.1])
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
42
upgrade_version.pl
Executable file
42
upgrade_version.pl
Executable file
@@ -0,0 +1,42 @@
|
|||||||
|
#! /usr/bin/perl
|
||||||
|
|
||||||
|
$old_version = "";
|
||||||
|
$new_version = "";
|
||||||
|
|
||||||
|
sub replace_file {
|
||||||
|
($file) = @_;
|
||||||
|
|
||||||
|
$tmp_fn = "uv.tmp";
|
||||||
|
open TMP, ">$tmp_fn";
|
||||||
|
open INF, "<$file";
|
||||||
|
while (<INF>) {
|
||||||
|
s/$old_version/$new_version/g;
|
||||||
|
print TMP;
|
||||||
|
}
|
||||||
|
close INF;
|
||||||
|
close TMP;
|
||||||
|
# `mv $tmp_fn $file`;
|
||||||
|
rename ($tmp_fn, $file);
|
||||||
|
}
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
## main
|
||||||
|
###############################################################
|
||||||
|
$old_version = shift;
|
||||||
|
$new_version = shift;
|
||||||
|
|
||||||
|
if (!$new_version) {
|
||||||
|
$_ = `grep AC_INIT configure.ac`;
|
||||||
|
chomp;
|
||||||
|
$_ =~ s/^.*,//;
|
||||||
|
$_ =~ s/\).*$//;
|
||||||
|
die "Usage: upgrade_version.pl old_version new_version\nold_verion=$_\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
@files = (
|
||||||
|
"configure.ac",
|
||||||
|
);
|
||||||
|
|
||||||
|
for $file (@files) {
|
||||||
|
replace_file ($file);
|
||||||
|
}
|
Reference in New Issue
Block a user