libfetch - move fetch.3 to man and fetch.h to include
This commit is contained in:
		
							parent
							
								
									429639f938
								
							
						
					
					
						commit
						65be30daed
					
				@ -9,7 +9,7 @@ INCS=	alloca.h ansi.h a.out.h ar.h assert.h configfile.h ctype.h \
 | 
			
		||||
	stdint.h stdbool.h stdio.h stdlib.h string.h strings.h sysexits.h \
 | 
			
		||||
	syslog.h tar.h termcap.h termios.h time.h timers.h tools.h \
 | 
			
		||||
	ttyent.h ucontext.h unistd.h utime.h utmp.h wchar.h wctype.h \
 | 
			
		||||
	hgfs.h tzfile.h util.h
 | 
			
		||||
	hgfs.h tzfile.h util.h fetch.h
 | 
			
		||||
INCS+=	arpa/inet.h
 | 
			
		||||
INCS+=	minix/a.out.h minix/bitmap.h minix/callnr.h minix/cdrom.h \
 | 
			
		||||
	minix/com.h minix/config.h minix/const.h minix/cpufeature.h \
 | 
			
		||||
 | 
			
		||||
@ -3,9 +3,6 @@
 | 
			
		||||
LIB=		fetch
 | 
			
		||||
SRCS=		fetch.c common.c ftp.c http.c file.c
 | 
			
		||||
#DPSRCS= 	ftperr.h httperr.h
 | 
			
		||||
INCSDIR=	/usr/include
 | 
			
		||||
INCS=		fetch.h
 | 
			
		||||
MAN=		fetch.3
 | 
			
		||||
# CLEANFILES=	ftperr.h httperr.h
 | 
			
		||||
MKLINT=		no
 | 
			
		||||
MKPIC=		no
 | 
			
		||||
 | 
			
		||||
@ -66,7 +66,6 @@
 | 
			
		||||
#include <signal.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "fetch.h"
 | 
			
		||||
#include "common.h"
 | 
			
		||||
 | 
			
		||||
/*** Local data **************************************************************/
 | 
			
		||||
 | 
			
		||||
@ -32,6 +32,8 @@
 | 
			
		||||
#ifndef _COMMON_H_INCLUDED
 | 
			
		||||
#define _COMMON_H_INCLUDED
 | 
			
		||||
 | 
			
		||||
#include <fetch.h>
 | 
			
		||||
 | 
			
		||||
#define FTP_DEFAULT_PORT	21
 | 
			
		||||
#define HTTP_DEFAULT_PORT	80
 | 
			
		||||
#define FTP_DEFAULT_PROXY_PORT	21
 | 
			
		||||
 | 
			
		||||
@ -43,7 +43,6 @@
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
 | 
			
		||||
#include "fetch.h"
 | 
			
		||||
#include "common.h"
 | 
			
		||||
 | 
			
		||||
auth_t	 fetchAuthMethod;
 | 
			
		||||
 | 
			
		||||
@ -47,7 +47,6 @@
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
 | 
			
		||||
#include "fetch.h"
 | 
			
		||||
#include "common.h"
 | 
			
		||||
 | 
			
		||||
static int	fetch_stat_file(int, struct url_stat *);
 | 
			
		||||
 | 
			
		||||
@ -94,7 +94,6 @@
 | 
			
		||||
#include <time.h>
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
 | 
			
		||||
#include "fetch.h"
 | 
			
		||||
#include "common.h"
 | 
			
		||||
#include "ftperr.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -106,7 +106,6 @@
 | 
			
		||||
 | 
			
		||||
#include <arpa/inet.h>
 | 
			
		||||
 | 
			
		||||
#include "fetch.h"
 | 
			
		||||
#include "common.h"
 | 
			
		||||
#include "httperr.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ MAN=	abort.3 abs.3 assert.3 atof.3 bstring.3 configfile.3 \
 | 
			
		||||
	readv.3 realpath.3 regex.3 remainder.3 resolver.3 scanf.3 \
 | 
			
		||||
	servxcheck.3 setbuf.3 setjmp.3 sigset.3 sleep.3 stdarg.3 \
 | 
			
		||||
	stdio.3 string.3 strtol.3 syslog.3 system.3 termcap.3 \
 | 
			
		||||
	termios.3 time2posix.3 ttyname.3 ttyslot.3 ungetc.3
 | 
			
		||||
	termios.3 time2posix.3 ttyname.3 ttyslot.3 ungetc.3 fetch.3
 | 
			
		||||
 | 
			
		||||
.include <bsd.man.mk>
 | 
			
		||||
.include <bsd.subdir.mk>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user