From c9c0de70a1c12004be86fc87851a0b9a40fef437 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 10 Oct 2019 17:15:43 +0200 Subject: doc: Restore deprecated libnet-config.1 from debian/ Signed-off-by: Joachim Nilsson --- debian/libnet-config.1 | 33 --------------------------------- doc/.gitignore | 2 -- doc/man/Makefile.am | 2 +- doc/man/man1/Makefile.am | 1 + doc/man/man1/libnet-config.1 | 33 +++++++++++++++++++++++++++++++++ doc/man/man3/.gitignore | 3 +++ 6 files changed, 38 insertions(+), 36 deletions(-) delete mode 100644 debian/libnet-config.1 create mode 100644 doc/man/man1/Makefile.am create mode 100644 doc/man/man1/libnet-config.1 create mode 100644 doc/man/man3/.gitignore diff --git a/debian/libnet-config.1 b/debian/libnet-config.1 deleted file mode 100644 index 28b74ea..0000000 --- a/debian/libnet-config.1 +++ /dev/null @@ -1,33 +0,0 @@ -.\" Written by Domenico Andreoli for Debian GNU/Linux. -.\" Do whatever you want with this file. -.\" NO warranty is provided. -.TH libnet-config 1 "18 November 2002" "Libnet 1.1.0" "libnet-config manual" -.SH NAME -libnet-config \- Get information about a libnet installation -.SH SYNOPSIS -.B libnet-config [options] -.SH DESCRIPTION -.B libnet-config -displays information about a previous libnet installation. -.SH OPTIONS -.IP "--cflags" -Set of compiler options (CFLAGS) to use when compiling files that use -libnet. -.IP "--libs" -Shows the complete set of libs and other linker options you will need in order -to link your application with libnet. -.IP "--defines" -Set of compiler defines used to compile libnet. -.SH "EXAMPLES" -What linker options do I need when I link with libnet? - - libnet-config \-\-libs - -What compiler options do I need when I compile using libnet functions? - - libnet-config \-\-cflags -.SH SEE ALSO -.BR libnet (3) -.SH AUTHOR -This manual page was written by Domenico Andreoli -for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/.gitignore b/doc/.gitignore index 13a2db0..40ec75d 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -2,5 +2,3 @@ fixmanpages libnet.tag html/* latex/* -man/* - diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index c638ab2..8e0a4e9 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -1 +1 @@ -SUBDIRS = man3 +SUBDIRS = man1 man3 diff --git a/doc/man/man1/Makefile.am b/doc/man/man1/Makefile.am new file mode 100644 index 0000000..5eb9bfe --- /dev/null +++ b/doc/man/man1/Makefile.am @@ -0,0 +1 @@ +dist_man3_MANS = libnet-config.1 diff --git a/doc/man/man1/libnet-config.1 b/doc/man/man1/libnet-config.1 new file mode 100644 index 0000000..28b74ea --- /dev/null +++ b/doc/man/man1/libnet-config.1 @@ -0,0 +1,33 @@ +.\" Written by Domenico Andreoli for Debian GNU/Linux. +.\" Do whatever you want with this file. +.\" NO warranty is provided. +.TH libnet-config 1 "18 November 2002" "Libnet 1.1.0" "libnet-config manual" +.SH NAME +libnet-config \- Get information about a libnet installation +.SH SYNOPSIS +.B libnet-config [options] +.SH DESCRIPTION +.B libnet-config +displays information about a previous libnet installation. +.SH OPTIONS +.IP "--cflags" +Set of compiler options (CFLAGS) to use when compiling files that use +libnet. +.IP "--libs" +Shows the complete set of libs and other linker options you will need in order +to link your application with libnet. +.IP "--defines" +Set of compiler defines used to compile libnet. +.SH "EXAMPLES" +What linker options do I need when I link with libnet? + + libnet-config \-\-libs + +What compiler options do I need when I compile using libnet functions? + + libnet-config \-\-cflags +.SH SEE ALSO +.BR libnet (3) +.SH AUTHOR +This manual page was written by Domenico Andreoli +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/man3/.gitignore b/doc/man/man3/.gitignore new file mode 100644 index 0000000..cb4e79a --- /dev/null +++ b/doc/man/man3/.gitignore @@ -0,0 +1,3 @@ +libnet.3 +libnet-macros.3 +libnet-functions.3 -- cgit v1.2.1