about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7565dda..5096a61 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -2,7 +2,6 @@ all::
 PLACEHOLDERS = posix-mq-rb_1
 RSYNC_DEST := bogomips.org:/srv/bogomips/ruby_posix_mq
 rfpackage := posix_mq
-include pkg.mk
 
 base_bins := posix-mq-rb
 bins := $(addprefix bin/, $(base_bins))
@@ -17,8 +16,9 @@ man html:
         $(MAKE) -C Documentation install-$@
 
 pkg_extra += $(man1_paths)
+$(man1_paths): man
+include pkg.mk
 
 doc::
         install -m644 COPYING-GPL2 doc/COPYING-GPL2
-        $(RM) $(man1_rdoc)
 .PHONY: man html