commit: 2996ee3ab94c875f7d000ce73ea1918d748793c5 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue May 20 07:59:09 2014 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue May 20 07:59:09 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=2996ee3a
Use "%" instead of "," as delimiter for sed. * bin/Makefile.am (dosed): * libs/Makefile.am (dosed): * man/Makefile.am (dosed): Use "%" instead of "," as delimiter. --- ChangeLog | 4 ++++ bin/Makefile.am | 8 ++++---- libs/Makefile.am | 8 ++++---- man/Makefile.am | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index d5ddaef..d9dd9fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2014-05-20 Ulrich Müller <[email protected]> + * bin/Makefile.am (dosed): + * libs/Makefile.am (dosed): + * man/Makefile.am (dosed): Use "%" instead of "," as delimiter. + * configure.ac: Replace "git rev-parse" by "git describe", now that git-r3.eclass supports it (bug 489100). diff --git a/bin/Makefile.am b/bin/Makefile.am index 7ba2996..20902c1 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -1,10 +1,10 @@ bin_SCRIPTS = eselect EXTRA_DIST = eselect.in -dosed = @SED@ -e 's,\@BASH\@,$(BASH),g' \ - -e 's,\@DATADIR\@,$(datadir),g' \ - -e 's,\@EPREFIX\@,$(EPREFIX),g' \ - -e 's,\@VERSION\@,$(VERSION)$(EXTRAVERSION),g' +dosed = @SED@ -e 's%\@BASH\@%$(BASH)%g' \ + -e 's%\@DATADIR\@%$(datadir)%g' \ + -e 's%\@EPREFIX\@%$(EPREFIX)%g' \ + -e 's%\@VERSION\@%$(VERSION)$(EXTRAVERSION)%g' % : %.in @echo "Building $@..." diff --git a/libs/Makefile.am b/libs/Makefile.am index bab373e..027ef73 100644 --- a/libs/Makefile.am +++ b/libs/Makefile.am @@ -27,10 +27,10 @@ EXTRA_DIST = \ tests.bash.in dosed = @SED@ \ - -e 's,\@SED\@,@SED@,g' \ - -e 's,\@PORTAGEQ\@,@PORTAGEQ@,g' \ - -e 's,\@ENV_UPDATE\@,@ENV_UPDATE@,g' \ - -e 's,\@CANONICALISE\@,@CANONICALISE@,g' + -e 's%\@SED\@%@SED@%g' \ + -e 's%\@PORTAGEQ\@%@PORTAGEQ@%g' \ + -e 's%\@ENV_UPDATE\@%@ENV_UPDATE@%g' \ + -e 's%\@CANONICALISE\@%@CANONICALISE@%g' %.bash : %.bash.in @$(dosed) $< > $@ diff --git a/man/Makefile.am b/man/Makefile.am index f93b85b..c4bbdce 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -14,7 +14,7 @@ EXTRA_DIST = $(man_MANS) MAINTAINERCLEANFILES = Makefile.in # turn foo-<suffix> into foo.eselect.5 -dosed = @SED@ -e 's,^\(.*\)-.*,\1\.eselect\.5,' +dosed = @SED@ -e 's%^\(.*\)-.*%\1\.eselect\.5%' install-data-local : $(foreach f, $(symlinks), install-symlink-$(f))
