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

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=992e5eadb47acb802c2c3228e993871c45d118a0

commit 992e5eadb47acb802c2c3228e993871c45d118a0
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Jul 28 03:12:06 2018 +0200

    build: Distribute the man.stamp from VPATH
    
    The pre-requisite might be available on the source or build directories
    depending on whether we are building from git or a distribution tarball.
    
    We should use an automatic variable to always grab the file from VPATH
    wherever it might be located.
---
 debian/changelog | 1 +
 man/Makefile.am  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 37e11b1ca..1410310aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -163,6 +163,7 @@ dpkg (1.19.1) UNRELEASED; urgency=medium
     - Enable gcc-7 -Wregister warning if available.
     - Add CPAN distribution machinery for the perl modules. Closes: #821177
     - Add an autogen script to help people bootstrap the project.
+    - Distribute the man.stamp from VPATH.
   * Packaging:
     - Install update-alternatives policykit-1 file.
     - Add Breaks to libdpkg-perl against pkg-kde-tools (<< 0.15.28~), as
diff --git a/man/Makefile.am b/man/Makefile.am
index a88d92ced..584e02640 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -255,7 +255,7 @@ uninstall-local-yes:
        done
 
 dist-hook: man.stamp
-       cp $(srcdir)/man.stamp $(distdir)/
+       cp $< $(distdir)/
        for lang in $(LINGUAS_DIST); do \
          cp $(srcdir)/po/$$lang.po $(distdir)/po; \
          cp $(srcdir)/po/$$lang.add $(distdir)/po; \

-- 
Dpkg.Org's dpkg

Reply via email to