libpcap: update to 1.3.0
[openwrt/svn-archive/archive.git] / package / libs / libpcap / patches / 102-makefile_disable_manpages.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -571,71 +571,12 @@ 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 [ -d $(DESTDIR)$(bindir) ] || \
19 (mkdir -p $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
20 $(INSTALL_PROGRAM) pcap-config $(DESTDIR)$(bindir)/pcap-config
21 - for i in $(MAN1); do \
22 - $(INSTALL_DATA) $(srcdir)/$$i \
23 - $(DESTDIR)$(mandir)/man1/$$i; done
24 - for i in $(MAN3PCAP_NOEXPAND); do \
25 - $(INSTALL_DATA) $(srcdir)/$$i \
26 - $(DESTDIR)$(mandir)/man3/$$i; done
27 - for i in $(MAN3PCAP_EXPAND:.in=); do \
28 - $(INSTALL_DATA) $$i \
29 - $(DESTDIR)$(mandir)/man3/$$i; done
30 - rm -f $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_description.3pcap
31 - ln $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_name.3pcap \
32 - $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_description.3pcap
33 - rm -f $(DESTDIR)$(mandir)/man3/pcap_dump_fopen.3pcap
34 - ln $(DESTDIR)$(mandir)/man3/pcap_dump_open.3pcap \
35 - $(DESTDIR)$(mandir)/man3/pcap_dump_fopen.3pcap
36 - rm -f $(DESTDIR)$(mandir)/man3/pcap_freealldevs.3pcap
37 - ln $(DESTDIR)$(mandir)/man3/pcap_findalldevs.3pcap \
38 - $(DESTDIR)$(mandir)/man3/pcap_freealldevs.3pcap
39 - rm -f $(DESTDIR)$(mandir)/man3/pcap_perror.3pcap
40 - ln $(DESTDIR)$(mandir)/man3/pcap_geterr.3pcap \
41 - $(DESTDIR)$(mandir)/man3/pcap_perror.3pcap
42 - rm -f $(DESTDIR)$(mandir)/man3/pcap_sendpacket.3pcap
43 - ln $(DESTDIR)$(mandir)/man3/pcap_inject.3pcap \
44 - $(DESTDIR)$(mandir)/man3/pcap_sendpacket.3pcap
45 - rm -f $(DESTDIR)$(mandir)/man3/pcap_free_datalinks.3pcap
46 - ln $(DESTDIR)$(mandir)/man3/pcap_list_datalinks.3pcap \
47 - $(DESTDIR)$(mandir)/man3/pcap_free_datalinks.3pcap
48 - rm -f $(DESTDIR)$(mandir)/man3/pcap_free_tstamp_types.3pcap
49 - ln $(DESTDIR)$(mandir)/man3/pcap_list_tstamp_types.3pcap \
50 - $(DESTDIR)$(mandir)/man3/pcap_free_tstamp_types.3pcap
51 - rm -f $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap
52 - ln $(DESTDIR)$(mandir)/man3/pcap_loop.3pcap \
53 - $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap
54 - rm -f $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap
55 - ln $(DESTDIR)$(mandir)/man3/pcap_major_version.3pcap \
56 - $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap
57 - rm -f $(DESTDIR)$(mandir)/man3/pcap_next.3pcap
58 - ln $(DESTDIR)$(mandir)/man3/pcap_next_ex.3pcap \
59 - $(DESTDIR)$(mandir)/man3/pcap_next.3pcap
60 - rm -f $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap
61 - ln $(DESTDIR)$(mandir)/man3/pcap_open_offline.3pcap \
62 - $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap
63 - rm -f $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap
64 - ln $(DESTDIR)$(mandir)/man3/pcap_setnonblock.3pcap \
65 - $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap
66 - for i in $(MANFILE); do \
67 - $(INSTALL_DATA) `echo $$i | sed 's/.manfile.in/.manfile/'` \
68 - $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@/`echo $$i | sed 's/.manfile.in/.@MAN_FILE_FORMATS@/'`; done
69 - for i in $(MANMISC); do \
70 - $(INSTALL_DATA) `echo $$i | sed 's/.manmisc.in/.manmisc/'` \
71 - $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@/`echo $$i | sed 's/.manmisc.in/.@MAN_MISC_INFO@/'`; done
72
73 install-shared: install-shared-$(DYEXT)
74 install-shared-so: libpcap.so