summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAleksey Sanin <aleksey@src.gnome.org>2003-03-26 09:24:26 +0000
committerAleksey Sanin <aleksey@src.gnome.org>2003-03-26 09:24:26 +0000
commitb6a238169a81001949bb9adcbff8491a5d774286 (patch)
tree9ed224e54b97645cbc1f522467d92bf848bc415b /man
parentbf54417845851a942db6d0acfa210ff955e91f9d (diff)
downloadxmlsec1-b6a238169a81001949bb9adcbff8491a5d774286.tar.gz
xmlsec1-b6a238169a81001949bb9adcbff8491a5d774286.tar.bz2
xmlsec1-b6a238169a81001949bb9adcbff8491a5d774286.zip
fixed man build problems
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am18
-rw-r--r--man/xmlsec-config.142
2 files changed, 12 insertions, 48 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index d770f4fa..77b802e1 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -10,11 +10,11 @@ man_MANS = \
xmlsec-config.1 \
$(NULL)
-XMLSEC_PROGRAM=../apps/xmlsec
-XMLSEC_CONFIG_PROGRAM=../xmlsec-config
-XMLSEC_HTML=../docs/xmlsec-man.html
+XMLSEC_PROGRAM=$(top_builddir)/apps/xmlsec
+XMLSEC_CONFIG_PROGRAM=$(top_builddir)/xmlsec-config
+XMLSEC_HTML=$(top_builddir)/docs/xmlsec-man.html
-all: $(man_MANS) $(XMLSEC_HTML)
+all: clean $(man_MANS) $(XMLSEC_HTML)
$(XMLSEC_HTML): xmlsec.1
man2html xmlsec.1 | \
@@ -22,14 +22,20 @@ $(XMLSEC_HTML): xmlsec.1
tr "[:cntrl:]" " " > \
$(XMLSEC_HTML)
-xmlsec.1: $(XMLSEC_PROGRAM)
+xmlsec.1:
+ @rm -f xmlsec.1
help2man --help-option=--help-all \
--version-option=--version \
$(XMLSEC_PROGRAM) > xmlsec.1
-xmlsec-config.1: $(XMLSEC_CONFIG_PROGRAM)
+xmlsec-config.1:
@chmod 766 $(XMLSEC_CONFIG_PROGRAM)
help2man --help-option=--help \
--version-option=--version \
$(XMLSEC_CONFIG_PROGRAM) > xmlsec-config.1
+$(XMLSEC_PROGRAM):
+ @cd ../apps;make
+
+clean:
+ @rm -f xmlsec-*.1
diff --git a/man/xmlsec-config.1 b/man/xmlsec-config.1
index 2c46c1fa..e69de29b 100644
--- a/man/xmlsec-config.1
+++ b/man/xmlsec-config.1
@@ -1,42 +0,0 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.29.
-.TH XMLSEC-CONFIG "1" "March 2003" "xmlsec-config 0.2.0" "User Commands"
-.SH NAME
-xmlsec-config \- manual page for xmlsec-config 0.2.0
-.SH SYNOPSIS
-.B xmlsec-config
-[\fIOPTION\fR]...
-.SH DESCRIPTION
-Known values for OPTION are:
-.TP
-\fB\-\-prefix\fR=\fIDIR\fR
-change XMLSEC prefix [default /home/aleksey]
-.TP
-\fB\-\-exec\-prefix\fR=\fIDIR\fR
-change XMLSEC executable prefix [default /home/aleksey]
-.TP
-\fB\-\-libs\fR
-print library linking information
-.TP
-\fB\-\-cflags\fR
-print pre-processor and compiler flags
-.TP
-\fB\-\-crypto\fR
-print the default crypto library name
-.TP
-\fB\-\-help\fR
-display this help and exit
-.TP
-\fB\-\-version\fR
-output version information
-.SH "SEE ALSO"
-The full documentation for
-.B xmlsec-config
-is maintained as a Texinfo manual. If the
-.B info
-and
-.B xmlsec-config
-programs are properly installed at your site, the command
-.IP
-.B info xmlsec-config
-.PP
-should give you access to the complete manual.