summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Abdulkadir <autostart.ini@gmail.com>2018-06-11 18:02:26 +0300
committerAli Abdulkadir <autostart.ini@gmail.com>2018-06-11 18:02:26 +0300
commitcf6beba0fea625b1e87c76873f81a0e91916ebc3 (patch)
treeeb9c2bd4cf14bf9d296a93ef227493fa7b8c653d
parentc9cec78136e64df028806ab7a311660e838359bc (diff)
downloadlibnet-cf6beba0fea625b1e87c76873f81a0e91916ebc3.tar.gz
Use correct paths in fixmanpages.in
-rw-r--r--libnet/doc/fixmanpages.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnet/doc/fixmanpages.in b/libnet/doc/fixmanpages.in
index a114e50..0270b45 100644
--- a/libnet/doc/fixmanpages.in
+++ b/libnet/doc/fixmanpages.in
@@ -38,11 +38,11 @@ find $MANDIR/man3/ -name "libnet.h.3" -exec sh -c 'rm -f "$1"' _ {} \;
# BTW: We're using this hideous date format because Doxygen generated man
# pages have them set like this and our date format shouldn't look different.
-pod2man -d "$(date +%a\ %b\ %d\ %C%y)" -n LIBNET -c "libnet Programmers Guide" -s 3 -r "@PACKAGE_NAME@-@PACKAGE_VERSION@" libnet.Pod man/man3/libnet.3 || die "Could not create libnet.3 in $MANDIR/man/man3."
+pod2man -d "$(date +%a\ %b\ %d\ %C%y)" -n LIBNET -c "libnet Programmers Guide" -s 3 -r "@PACKAGE_NAME@-@PACKAGE_VERSION@" @top_srcdir@/doc/libnet.Pod man/man3/libnet.3 || die "Could not create libnet.3 in $MANDIR/man/man3."
# pod2html --title="libnet Programmers Guide" --noindex --infile=libnet.Pod --outfile=libnet.html
-pod2man -d "$(date +%a\ %b\ %d\ %C%y)" -n LIBNET-CONFIG -c "General Commands Manual" -s 1 -r "@PACKAGE_NAME@-@PACKAGE_VERSION@" libnet-config.Pod man/man1/libnet-config.1 || die "Could not create libnet-config.1 in $MANDIR/man/man1."
+pod2man -d "$(date +%a\ %b\ %d\ %C%y)" -n LIBNET-CONFIG -c "General Commands Manual" -s 1 -r "@PACKAGE_NAME@-@PACKAGE_VERSION@" @top_srcdir@/doc/libnet-config.Pod man/man1/libnet-config.1 || die "Could not create libnet-config.1 in $MANDIR/man/man1."
cd "$MANDIR/man3" || die "Could not cd into $MANDIR/man3"