[ifxos] fix .32 issue
[openwrt.git] / package / libpcap / patches / 102-makefile_disable_manpages.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -461,14 +461,6 @@ install: libpcap.a pcap-config
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 $(INSTALL_DATA) $(srcdir)/pcap/pcap.h \
16 $(DESTDIR)$(includedir)/pcap/pcap.h
17 $(INSTALL_DATA) $(srcdir)/pcap/bpf.h \
18 @@ -487,36 +479,6 @@ install: libpcap.a pcap-config
19 [ -d $(DESTDIR)$(bindir) ] || \
20 (mkdir -p $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
21 $(INSTALL_PROGRAM) pcap-config $(DESTDIR)$(bindir)/pcap-config
22 - for i in $(MAN1); do \
23 - $(INSTALL_DATA) $(srcdir)/$$i \
24 - $(DESTDIR)$(mandir)/man1/$$i; done
25 - for i in $(MAN3PCAP); do \
26 - $(INSTALL_DATA) $(srcdir)/$$i \
27 - $(DESTDIR)$(mandir)/man3/$$i; done
28 - ln $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_name.3pcap \
29 - $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_description.3pcap
30 - ln $(DESTDIR)$(mandir)/man3/pcap_dump_open.3pcap \
31 - $(DESTDIR)$(mandir)/man3/pcap_dump_fopen.3pcap
32 - ln $(DESTDIR)$(mandir)/man3/pcap_geterr.3pcap \
33 - $(DESTDIR)$(mandir)/man3/pcap_perror.3pcap
34 - ln $(DESTDIR)$(mandir)/man3/pcap_inject.3pcap \
35 - $(DESTDIR)$(mandir)/man3/pcap_sendpacket.3pcap
36 - ln $(DESTDIR)$(mandir)/man3/pcap_loop.3pcap \
37 - $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap
38 - ln $(DESTDIR)$(mandir)/man3/pcap_major_version.3pcap \
39 - $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap
40 - ln $(DESTDIR)$(mandir)/man3/pcap_next_ex.3pcap \
41 - $(DESTDIR)$(mandir)/man3/pcap_next.3pcap
42 - ln $(DESTDIR)$(mandir)/man3/pcap_open_offline.3pcap \
43 - $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap
44 - ln $(DESTDIR)$(mandir)/man3/pcap_setnonblock.3pcap \
45 - $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap
46 - for i in $(MANFILE); do \
47 - $(INSTALL_DATA) $(srcdir)/`echo $$i | sed 's/.manfile.in/.manfile/'` \
48 - $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@/`echo $$i | sed 's/.manfile.in/.@MAN_FILE_FORMATS@/'`; done
49 - for i in $(MANMISC); do \
50 - $(INSTALL_DATA) $(srcdir)/`echo $$i | sed 's/.manmisc.in/.manmisc/'` \
51 - $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@/`echo $$i | sed 's/.manmisc.in/.@MAN_MISC_INFO@/'`; done
52
53 install-shared: install-shared-$(DYEXT)
54 install-shared-so: libpcap.so
55 @@ -536,23 +498,6 @@ uninstall:
56 rm -f $(DESTDIR)$(includedir)/pcap.h
57 rm -f $(DESTDIR)$(includedir)/pcap-bpf.h
58 rm -f $(DESTDIR)$(includedir)/pcap-namedb.h
59 - for i in $(MAN1); do \
60 - rm -f $(DESTDIR)$(mandir)/man1/$$i; done
61 - for i in $(MAN3PCAP); do \
62 - rm -f $(DESTDIR)$(mandir)/man3/$$i; done
63 - rm -f $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_description.3pcap
64 - rm -f $(DESTDIR)$(mandir)/man3/pcap_dump_fopen.3pcap
65 - rm -f $(DESTDIR)$(mandir)/man3/pcap_perror.3pcap
66 - rm -f $(DESTDIR)$(mandir)/man3/pcap_sendpacket.3pcap
67 - rm -f $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap
68 - rm -f $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap
69 - rm -f $(DESTDIR)$(mandir)/man3/pcap_next.3pcap
70 - rm -f $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap
71 - rm -f $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap
72 - for i in $(MANFILE); do \
73 - rm -f $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@/`echo $$i | sed 's/.manfile.in/.@MAN_FILE_FORMATS@/'`; done
74 - for i in $(MANMISC); do \
75 - rm -f $(DESTDIR)$(mandir)/man@MAN_MISC_INFO@/`echo $$i | sed 's/.manmisc.in/.@MAN_MISC_INFO@/'`; done
76
77 clean:
78 rm -f $(CLEANFILES) libpcap*.dylib libpcap.so*
This page took 0.043948 seconds and 5 git commands to generate.