This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1947fef853b3a1eac89fa0af3ce6eabd10a291ea

commit 1947fef853b3a1eac89fa0af3ce6eabd10a291ea
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Fri Dec 17 04:57:12 2021 +0100

    build: Rename do_path_subst to do_make_subst
    
    This macro deals specifically with Makefiles, as that is the syntax it
    will understand and work with. Use a name matching that instead of what
    it will be replacing.
---
 scripts/mk/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/mk/Makefile.am b/scripts/mk/Makefile.am
index 36f5cc20e..05c585040 100644
--- a/scripts/mk/Makefile.am
+++ b/scripts/mk/Makefile.am
@@ -10,19 +10,19 @@ dist_pkgdata_DATA = \
        vendor.mk \
        # EOL
 
-do_path_subst = $(AM_V_GEN) $(SED) \
+do_make_subst = $(AM_V_GEN) $(SED) \
        -e "s:dpkg_datadir[[:space:]]*=[[:space:]]*[^[:space:]]*:dpkg_datadir = 
$(pkgdatadir):" \
        # EOL
 
 install-data-hook:
        mv $(DESTDIR)$(pkgdatadir)/default.mk \
           $(DESTDIR)$(pkgdatadir)/default.mk.tmp
-       $(do_path_subst) <$(DESTDIR)$(pkgdatadir)/default.mk.tmp \
+       $(do_make_subst) <$(DESTDIR)$(pkgdatadir)/default.mk.tmp \
                         >$(DESTDIR)$(pkgdatadir)/default.mk
        rm -f $(DESTDIR)$(pkgdatadir)/default.mk.tmp
 
        mv $(DESTDIR)$(pkgdatadir)/buildtools.mk \
           $(DESTDIR)$(pkgdatadir)/buildtools.mk.tmp
-       $(do_path_subst) <$(DESTDIR)$(pkgdatadir)/buildtools.mk.tmp \
+       $(do_make_subst) <$(DESTDIR)$(pkgdatadir)/buildtools.mk.tmp \
                         >$(DESTDIR)$(pkgdatadir)/buildtools.mk
        rm -f $(DESTDIR)$(pkgdatadir)/buildtools.mk.tmp

-- 
Dpkg.Org's dpkg

Reply via email to