]> diplodocus.org Git - nmh/blobdiff - Makefile.in
Replaced use of GNU make shell function with backticks. These were
[nmh] / Makefile.in
index c1060eaa2492b76c96728a1d504dc2d589e500e0..38a9c1d2d10cbda157cf029c163db1729bdc1b2b 100644 (file)
@@ -204,10 +204,10 @@ nmhrelease:
 # tarfile and version are as specified in this file.  rpmbuild does
 #   not allow Version to contain any dashes.
 rpm: all nmhdist
 # tarfile and version are as specified in this file.  rpmbuild does
 #   not allow Version to contain any dashes.
 rpm: all nmhdist
-       @rpmbuild --define '_topdir $(shell pwd)/RPM' \
+       @rpmbuild --define '_topdir '`pwd`'/RPM' \
           --define '_tmppath %{_topdir}/TMP' \
           --define '_tmppath %{_topdir}/TMP' \
-          --define 'srcdir $(shell pwd)' \
+          --define 'srcdir '`pwd` \
           --define 'tarfile $(tarfile)' \
           --define 'tarfile $(tarfile)' \
-          --define 'version $(shell echo $(VERSION) | sed "s/-/_/g")' \
+          --define 'version '`echo $(VERSION) | sed "s/-/_/g"` \
           -ba nmh.spec
        @$(RM) $(tarfile)
           -ba nmh.spec
        @$(RM) $(tarfile)