1
0

102-makefile_disable_manpages.patch 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. --- a/Makefile.in
  2. +++ b/Makefile.in
  3. @@ -599,14 +599,6 @@ install: install-shared install-archive
  4. (mkdir -p $(DESTDIR)$(includedir); chmod 755 $(DESTDIR)$(includedir))
  5. [ -d $(DESTDIR)$(includedir)/pcap ] || \
  6. (mkdir -p $(DESTDIR)$(includedir)/pcap; chmod 755 $(DESTDIR)$(includedir)/pcap)
  7. - [ -d $(DESTDIR)$(mandir)/man1 ] || \
  8. - (mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
  9. - [ -d $(DESTDIR)$(mandir)/man3 ] || \
  10. - (mkdir -p $(DESTDIR)$(mandir)/man3; chmod 755 $(DESTDIR)$(mandir)/man3)
  11. - [ -d $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@ ] || \
  12. - (mkdir -p $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@; chmod 755 $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@)
  13. - [ -d $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@ ] || \
  14. - (mkdir -p $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@; chmod 755 $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@)
  15. for i in $(PUBHDR); do \
  16. $(INSTALL_DATA) $(srcdir)/$$i \
  17. $(DESTDIR)$(includedir)/$$i; done
  18. @@ -616,59 +608,6 @@ install: install-shared install-archive
  19. [ -d $(DESTDIR)$(libdir)/pkgconfig ] || \
  20. (mkdir -p $(DESTDIR)$(libdir)/pkgconfig; chmod 755 $(DESTDIR)$(libdir)/pkgconfig)
  21. $(INSTALL_DATA) libpcap.pc $(DESTDIR)$(libdir)/pkgconfig/libpcap.pc
  22. - for i in $(MAN1); do \
  23. - $(INSTALL_DATA) $(srcdir)/$$i \
  24. - $(DESTDIR)$(mandir)/man1/$$i; done
  25. - for i in $(MAN3PCAP_NOEXPAND); do \
  26. - $(INSTALL_DATA) $(srcdir)/$$i \
  27. - $(DESTDIR)$(mandir)/man3/$$i; done
  28. - for i in $(MAN3PCAP_EXPAND:.in=); do \
  29. - $(INSTALL_DATA) $$i \
  30. - $(DESTDIR)$(mandir)/man3/$$i; done
  31. - (cd $(DESTDIR)$(mandir)/man3 && \
  32. - rm -f pcap_datalink_val_to_description.3pcap && \
  33. - $(LN_S) pcap_datalink_val_to_name.3pcap \
  34. - pcap_datalink_val_to_description.3pcap && \
  35. - rm -f pcap_datalink_val_to_description_or_dlt.3pcap && \
  36. - $(LN_S) pcap_datalink_val_to_name.3pcap \
  37. - pcap_datalink_val_to_description_or_dlt.3pcap && \
  38. - rm -f pcap_dump_fopen.3pcap && \
  39. - $(LN_S) pcap_dump_open.3pcap pcap_dump_fopen.3pcap && \
  40. - rm -f pcap_freealldevs.3pcap && \
  41. - $(LN_S) pcap_findalldevs.3pcap pcap_freealldevs.3pcap && \
  42. - rm -f pcap_perror.3pcap && \
  43. - $(LN_S) pcap_geterr.3pcap pcap_perror.3pcap && \
  44. - rm -f pcap_sendpacket.3pcap && \
  45. - $(LN_S) pcap_inject.3pcap pcap_sendpacket.3pcap && \
  46. - rm -f pcap_free_datalinks.3pcap && \
  47. - $(LN_S) pcap_list_datalinks.3pcap pcap_free_datalinks.3pcap && \
  48. - rm -f pcap_free_tstamp_types.3pcap && \
  49. - $(LN_S) pcap_list_tstamp_types.3pcap pcap_free_tstamp_types.3pcap && \
  50. - rm -f pcap_dispatch.3pcap && \
  51. - $(LN_S) pcap_loop.3pcap pcap_dispatch.3pcap && \
  52. - rm -f pcap_minor_version.3pcap && \
  53. - $(LN_S) pcap_major_version.3pcap pcap_minor_version.3pcap && \
  54. - rm -f pcap_next.3pcap && \
  55. - $(LN_S) pcap_next_ex.3pcap pcap_next.3pcap && \
  56. - rm -f pcap_open_dead_with_tstamp_precision.3pcap && \
  57. - $(LN_S) pcap_open_dead.3pcap \
  58. - pcap_open_dead_with_tstamp_precision.3pcap && \
  59. - rm -f pcap_open_offline_with_tstamp_precision.3pcap && \
  60. - $(LN_S) pcap_open_offline.3pcap pcap_open_offline_with_tstamp_precision.3pcap && \
  61. - rm -f pcap_fopen_offline.3pcap && \
  62. - $(LN_S) pcap_open_offline.3pcap pcap_fopen_offline.3pcap && \
  63. - rm -f pcap_fopen_offline_with_tstamp_precision.3pcap && \
  64. - $(LN_S) pcap_open_offline.3pcap pcap_fopen_offline_with_tstamp_precision.3pcap && \
  65. - rm -f pcap_tstamp_type_val_to_description.3pcap && \
  66. - $(LN_S) pcap_tstamp_type_val_to_name.3pcap pcap_tstamp_type_val_to_description.3pcap && \
  67. - rm -f pcap_getnonblock.3pcap && \
  68. - $(LN_S) pcap_setnonblock.3pcap pcap_getnonblock.3pcap)
  69. - for i in $(MANFILE); do \
  70. - $(INSTALL_DATA) `echo $$i | sed 's/.manfile.in/.manfile/'` \
  71. - $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@/`echo $$i | sed 's/.manfile.in/.@MAN_FILE_FORMATS@/'`; done
  72. - for i in $(MANMISC); do \
  73. - $(INSTALL_DATA) `echo $$i | sed 's/.manmisc.in/.manmisc/'` \
  74. - $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@/`echo $$i | sed 's/.manmisc.in/.@MAN_MISC_INFO@/'`; done
  75. install-shared: install-shared-$(DYEXT)
  76. install-shared-so: libpcap.so