diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-07-27 14:26:14 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-07-27 14:26:47 +0200 |
commit | 1100f7aaab11ed08c99bf92d90b73bbb7ee07939 (patch) | |
tree | bd27013344ce9a3f18e7ebd0d8f5e6bcb41c3c6a /Makefile.am | |
parent | 9fefeb6c3e60b9d4853d76ea07ae44db180728af (diff) | |
download | gnutls-1100f7aaab11ed08c99bf92d90b73bbb7ee07939.tar.gz |
check for sed in configure.ac and use the output variable in Makefiles
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 71a7d83c80..2d6f1a4d28 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,14 +58,14 @@ dist-hook: rm -f ChangeLog make ChangeLog cp -f ChangeLog $(distdir)/ - sed 's/\@VERSION\@/$(VERSION)/g' -i $(distdir)/src/args-std.def - sed 's/\@YEAR\@/$(YEAR)/g' -i $(distdir)/src/args-std.def - sed 's/\@PACKAGE_BUGREPORT\@/$(PACKAGE_BUGREPORT)/g' -i $(distdir)/src/args-std.def + $(SED) 's/\@VERSION\@/$(VERSION)/g' -i $(distdir)/src/args-std.def + $(SED) 's/\@YEAR\@/$(YEAR)/g' -i $(distdir)/src/args-std.def + $(SED) 's/\@PACKAGE_BUGREPORT\@/$(PACKAGE_BUGREPORT)/g' -i $(distdir)/src/args-std.def cd $(distdir)/src/ && for i in *.def;do \ if test x"$$i" = x"args-std.def";then continue; fi; \ autogen $$i; \ cp $$i $$i.tmp; \ - sed -i 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $$i.tmp; \ + $(SED) -i 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $$i.tmp; \ autogen -Tagman-cmd.tpl $$i.tmp; \ rm -f $$i.tmp; \ mv -f *.1 ../doc/manpages/; \ |