File: 06-am-doxygen-fix.diff

package info (click to toggle)
libgpiv 0.6.1-7.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 4,404 kB
  • sloc: ansic: 17,832; sh: 10,248; makefile: 114
file content (70 lines) | stat: -rw-r--r-- 1,989 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,52 +26,6 @@
 
 
 # adding doxygen support
-include $(top_srcdir)/aminclude.am
-DOC_INSTALL_DIR		= $(prefix)/share/doc/libgpiv3-doc/
-MOSTLYCLEANFILES	= $(DX_CLEANFILES)
+@DX_RULES@
+#DOC_INSTALL_DIR		= $(prefix)/share/doc/libgpiv3-doc/
 
-doxygen-install:
-	install -d $(DOC_INSTALL_DIR)
-if DX_COND_html
-	install -d $(DOC_INSTALL_DIR)/html
-	install -m 644 @DX_DOCDIR@/html/* $(DOC_INSTALL_DIR)/html
-endif DX_COND_html
-if DX_COND_chm
-	install -d $(DOC_INSTALL_DIR)/chm
-	install -m 644 @DX_DOCDIR@/chm/* $(DOC_INSTALL_DIR)/chm
-if DX_COND_chi
-	install -d $(DOC_INSTALL_DIR)/chi
-	install -m 644 @DX_DOCDIR@/chi/* $(DOC_INSTALL_DIR)/chi
-endif DX_COND_chi
-endif DX_COND_chm
-if DX_COND_man
-	install -d $(DOC_INSTALL_DIR)/man
-	install -m 644 @DX_DOCDIR@/man/* $(DOC_INSTALL_DIR)/man
-endif DX_COND_man
-if DX_COND_rtf
-	install -d $(DOC_INSTALL_DIR)/rtf
-	install -m 644 @DX_DOCDIR@/rtf/* $(DOC_INSTALL_DIR)/rtf
-endif DX_COND_rtf
-if DX_COND_xml
-	install -d $(DOC_INSTALL_DIR)/xml
-	install -m 644 @DX_DOCDIR@/xml/* $(DOC_INSTALL_DIR)/xml
-endif DX_COND_xml
-if DX_COND_ps
-	install -d $(DOC_INSTALL_DIR)/ps
-	install -m 644 @DX_DOCDIR@/ps/* $(DOC_INSTALL_DIR)/ps
-endif DX_COND_ps
-if DX_COND_pdf
-	install -d $(DOC_INSTALL_DIR)/pdf
-	install -m 644 @DX_DOCDIR@/pdf/* $(DOC_INSTALL_DIR)/pdf
-endif DX_COND_pdf
-if DX_COND_latex
-	install -d $(DOC_INSTALL_DIR)/latex
-	install -m 644 @DX_DOCDIR@/latex/* $(DOC_INSTALL_DIR)/latex
-endif DX_COND_latex
-if DX_COND_man
-	install -d $(DOC_INSTALL_DIR)/man
-	install -m 644 @DX_DOCDIR@/man/* $(DOC_INSTALL_DIR)/man
-endif DX_COND_man
-
-doxygen-uninstall:
-	rm -rf $(DOC_INSTALL_DIR)
--- a/configure.in
+++ b/configure.in
@@ -92,8 +92,8 @@
 DX_PDF_FEATURE(OFF)
 DX_PS_FEATURE(OFF)
 #
-DX_INIT_DOXYGEN($PACKAGE, Doxyfile)
-
+#DX_INIT_DOXYGEN($PACKAGE, ../Doxyfile, $(prefix)/share/doc/libgpiv3-doc/)
+DX_INIT_DOXYGEN($PACKAGE, ../Doxyfile)
 
 AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)