summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-01 18:40:43 -0400
committerDan McGee <dan@archlinux.org>2007-07-01 18:40:43 -0400
commitd70116bfbc535cac9eb941a570c34479e68a1b8d (patch)
tree48df01ba45aee0efafa04c5ba6fcb8af5f6874ae
parent2657a2bfb7847c8ac4dd5875979400d0d3fd89f6 (diff)
downloadpacman-d70116bfbc535cac9eb941a570c34479e68a1b8d.tar.xz
Move Doxygen manpage generation to doc/ directory
Instead of doing the doxygen work in the libalpm/ dir, do it with the rest of the docs in the doc/ dir. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--doc/Doxyfile (renamed from lib/libalpm/Doxyfile)25
-rw-r--r--doc/Makefile.am9
-rw-r--r--lib/libalpm/Makefile.am10
3 files changed, 12 insertions, 32 deletions
diff --git a/lib/libalpm/Doxyfile b/doc/Doxyfile
index fed75a7e..0d20274b 100644
--- a/lib/libalpm/Doxyfile
+++ b/doc/Doxyfile
@@ -6,7 +6,7 @@
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = libalpm
PROJECT_NUMBER =
-OUTPUT_DIRECTORY = ../../doc
+OUTPUT_DIRECTORY = ./
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES
@@ -83,31 +83,14 @@ WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
-INPUT = alpm.c \
- alpm.h \
- alpm_list.c \
- alpm_list.h \
- conflict.c \
- db.c \
- deps.c \
- error.c \
- group.c \
- handle.c \
- log.c \
- md5driver.c \
- package.c \
- server.c \
- sha1.c \
- sync.c \
- trans.c \
- versioncmp.c
+INPUT = ../lib/libalpm/
INPUT_ENCODING = UTF-8
FILE_PATTERNS =
RECURSIVE = NO
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
-EXCLUDE_SYMBOLS =
+EXCLUDE_SYMBOLS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
@@ -226,7 +209,7 @@ PERL_PATH = /usr/bin/perl
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = NO
-MSCGEN_PATH =
+MSCGEN_PATH =
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = YES
CLASS_GRAPH = YES
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 7a614795..14caa0da 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -10,7 +10,14 @@ if HAS_DOXYGEN
man_MANS += $(wildcard man3/*.3)
endif
-EXTRA_DIST = $(man_MANS)
+EXTRA_DIST = $(man_MANS) Doxyfile
+
+if HAS_DOXYGEN
+all: doxygen.in
+
+doxygen.in:
+ doxygen $(srcdir)/Doxyfile
+endif
clean-local:
$(RM) man3/*.3
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index be49c297..20e7203d 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -9,8 +9,6 @@ DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@
AM_CFLAGS = -fvisibility=hidden -pedantic -D_GNU_SOURCE -fgnu89-inline
-EXTRA_DIST = Doxyfile
-
libalpm_la_SOURCES = \
add.h add.c \
alpm.h alpm.c \
@@ -40,12 +38,4 @@ libalpm_la_SOURCES = \
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
libalpm_la_LIBADD = -larchive -ldownload
-if HAS_DOXYGEN
-all: doxygen.in
-
-doxygen.in:
- doxygen $(srcdir)/Doxyfile
-
-endif
-
# vim:set ts=2 sw=2 noet: