[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/24754] New: [patch] fix installation of manpage



https://sourceware.org/bugzilla/show_bug.cgi?id=24754

            Bug ID: 24754
           Summary: [patch] fix installation of manpage
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: doko at debian dot org
                CC: dwz at sourceware dot org
  Target Milestone: ---

fix installation of man page when srcdir != builddir.

--- a/src/Makefile
+++ b/src/Makefile
@@ -16,7 +16,7 @@ dwz: $(OBJECTS)
        $(CC) $(LDFLAGS) -o $@ $^ -lelf
 install: dwz
        install -D dwz $(DESTDIR)$(bindir)/dwz
-       install -D -m 644 dwz.1 $(DESTDIR)$(mandir)/man1/dwz.1
+       install -D -m 644 $(srcdir)/dwz.1 $(DESTDIR)$(mandir)/man1/dwz.1
 clean:
        rm -f $(OBJECTS) *~ core* dwz

-- 
You are receiving this mail because:
You are on the CC list for the bug.