Browse Source

Use backticks instead of non-portable make $(shell) function

The backticks are treated like text, until the shell expands them, thus
making this solution portable.
Guillem Jover 17 years ago
parent
commit
f8f6817904
2 changed files with 2 additions and 1 deletions
  1. 1 0
      debian/changelog
  2. 1 1
      man/Makefile.am

+ 1 - 0
debian/changelog

@@ -79,6 +79,7 @@ dpkg (1.15.1) UNRELEASED; urgency=low
     Thanks to Philipp Kern <pkern@debian.org>. Closes: #526617
     Thanks to Philipp Kern <pkern@debian.org>. Closes: #526617
   * Add '.hgtags' to the default dpkg-source -i regex and -I pattern.
   * Add '.hgtags' to the default dpkg-source -i regex and -I pattern.
     Closes: #525854
     Closes: #525854
+  * Use backticks instead of non-portable make $(shell) function in automake.
 
 
   [ Frank Lichtenheld ]
   [ Frank Lichtenheld ]
   * Dpkg::Version: Remove unnecessary function next_elem which just
   * Dpkg::Version: Remove unnecessary function next_elem which just

+ 1 - 1
man/Makefile.am

@@ -25,7 +25,7 @@ update-po:
 			./po4a.cfg 
 			./po4a.cfg 
 
 
 # Extract the list of languages from the po4a config file.
 # Extract the list of languages from the po4a config file.
-LINGUAS = $(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po/po4a.cfg)
+LINGUAS = `sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po/po4a.cfg`
 
 
 install-data-local: install-data-local-@USE_NLS@
 install-data-local: install-data-local-@USE_NLS@