Avoid installing shared libraries to man-page directories.
authorPeter Michael Green <plugwash@debian.org>
Thu, 10 Jan 2019 13:50:19 +0000 (13:50 +0000)
committerPeter Michael Green <plugwash@debian.org>
Thu, 10 Jan 2019 13:52:47 +0000 (13:52 +0000)
Makefile

index b73505a678db91076d7091e4bf3fd67b9986b392..9e43eabacd3a3a1bc652035908b1b0554b8a3e06 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -106,9 +106,9 @@ install:    $(ALL)
        if which python2; then python2 setup.py install $(PYINSTALLARGS); fi
        if which python3; then python3 setup.py install $(PYINSTALLARGS); fi
        install -m 0755 -d                             $(DESTDIR)$(mandir)/man1
-       install -m 0644 *.1                            $(DESTDIR)$(mandir)/man1
+       install -m 0644 p*.1                           $(DESTDIR)$(mandir)/man1
        install -m 0755 -d                             $(DESTDIR)$(mandir)/man3
-       install -m 0644 *.3                            $(DESTDIR)$(mandir)/man3
+       install -m 0644 p*.3                           $(DESTDIR)$(mandir)/man3
 ifeq ($(DESTDIR),)
        ldconfig
 endif