summaryrefslogtreecommitdiff
path: root/doc/Makefile.gen
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.gen')
-rw-r--r--doc/Makefile.gen8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/Makefile.gen b/doc/Makefile.gen
index 84a1095..2e8c4a1 100644
--- a/doc/Makefile.gen
+++ b/doc/Makefile.gen
@@ -1,4 +1,6 @@
+VPATH = gen
+
man: man3 man1
man3: libsolv.3 libsolv-bindings.3 libsolv-constantids.3 libsolv-history.3 libsolv-pool.3
@@ -13,10 +15,10 @@ html: libsolv.html libsolv-bindings.html libsolv-constantids.html libsolv-histor
.SUFFIXES: .html .3 .1 .txt
.txt.1:
- a2x -f manpage $<
+ a2x -f manpage -D gen $<
.txt.3:
- a2x -f manpage $<
+ a2x -f manpage -D gen $<
.txt.html:
- a2x -f xhtml $<
+ a2x -f xhtml -D gen $<