From ea57200c4b1a1c61e0df0e686db28757807f57e8 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 18 Jan 2001 04:06:24 +0000 Subject: Patch from Lorenzo Cavallaro to create $(DESTDIR)/$(mandir)/man3 before installing the libpcap man page, if that directory doesn't already exist. --- CREDITS | 4 ++++ Makefile.in | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CREDITS b/CREDITS index 61c9cbf..5797237 100644 --- a/CREDITS +++ b/CREDITS @@ -14,17 +14,21 @@ Additional people who have contributed patches: Arkadiusz Miskiewicz Fulvio Risso + Charles M. Hannum Chris G. Demetriou Darren Reed Greg Troxel Jefferson Ogata Juergen Schoenwaelder + Lorenzo Cavallaro Love Hörnquist-Åstrand Monroe Williams + Olaf Kirch Peter Jeremy Rafal Maszkowski Rick Jones Tony Li + Uwe Girlich The original LBL crew: Steve McCanne diff --git a/Makefile.in b/Makefile.in index b5bb316..ad840ab 100644 --- a/Makefile.in +++ b/Makefile.in @@ -17,7 +17,7 @@ # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # -# @(#) $Header: /tcpdump/master/libpcap/Makefile.in,v 1.84 2000-09-19 14:52:41 guy Exp $ (LBL) +# @(#) $Header: /tcpdump/master/libpcap/Makefile.in,v 1.87.2.1 2001-01-18 04:06:24 guy Exp $ (LBL) # # Various configurable paths (remember to edit Makefile.in, not Makefile) @@ -149,6 +149,8 @@ install: (mkdir -p $(DESTDIR)$(includedir)/net; chmod 755 $(DESTDIR)$(includedir)/net) $(INSTALL_DATA) $(srcdir)/bpf/net/bpf.h \ $(DESTDIR)$(includedir)/net/bpf.h + [ -d $(DESTDIR)$(mandir)/man3 ] || \ + (mkdir -p $(DESTDIR)$(mandir)/man3; chmod 755 $(DESTDIR)$(mandir)/man3) $(INSTALL_DATA) $(srcdir)/pcap.3 \ $(DESTDIR)$(mandir)/man3/pcap.3 @@ -164,7 +166,7 @@ clean: distclean: rm -f $(CLEANFILES) Makefile config.cache config.log config.status \ - gnuc.h os-proto.h net + config.h gnuc.h os-proto.h net bpf_filter.c stamp-h stamp-h.in tags: $(TAGFILES) ctags -wtd $(TAGFILES) @@ -183,5 +185,5 @@ tar: "rm -f ../$$name" ; \ rm -f ../$$name -depend: $(GENSRC) +depend: $(GENSRC) bpf_filter.c ./mkdep -c $(CC) $(DEFS) $(INCLS) $(SRC) -- cgit v1.2.3