# New Ticket Created by  Reini Urban 
# Please include the string:  [perl #74434]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74434 >


I cannot make packages without docs and man page.

Unfortunately the DOC_DIR or better DOCDIR config is missing.
Didn't we have that before?
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/
--- origsrc/rakudo-2010.03/build/Makefile.in	2010-03-17 13:26:16.000000000 +0200
+++ src/rakudo-2010.03/build/Makefile.in	2010-04-16 18:30:46.703125000 +0200
@@ -26,6 +26,7 @@ MV            = @mv@
 RM_F          = @rm_f@
 MKPATH        = $(PERL) -MExtUtils::Command -e mkpath
 CHMOD         = $(PERL) -MExtUtils::Command -e chmod
+POD2MAN       = @pod2man@
 
 # locations of parrot resources
 PARROT           = $(PARROT_BIN_DIR)/parrot$(EXE)
@@ -44,6 +45,8 @@ DYNEXT_DIR     = dynext
 PMC_DIR        = src/pmc
 OPS_DIR        = src/ops
 PERL6_LANG_DIR = $(PARROT_LIB_DIR)/languages/perl6
+MANDIR         = @mandir@
+DOCDIR         = @prefix@/share/doc
 
 # files we create
 PERL6_PBC     = perl6.pbc
@@ -244,6 +247,8 @@ PMC_SOURCES = \
 
 OPS_SOURCE   = perl6.ops
 
+DOCS = README CREDITS LICENSE docs/*
+
 CLEANUPS = \
   *.manifest \
   *.pdb \
@@ -294,6 +299,11 @@ install: all
 	$(MKPATH)                     $(DESTDIR)$(PARROT_BIN_DIR)
 	$(CP)     $(PERL6_EXE)        $(DESTDIR)$(PARROT_BIN_DIR)
 	$(CHMOD)  755                 $(DESTDIR)$(PARROT_BIN_DIR)/$(PERL6_EXE)
+	$(MKPATH) 		      $(DESTDIR)$(DOCDIR)/rakudo
+	$(CP)     $(DOCS)             $(DESTDIR)$(DOCDIR)/rakudo
+	$(MKPATH) $(DESTDIR)$(MANDIR)/man1
+	$(POD2MAN) docs/running.pod > $(DESTDIR)$(MANDIR)/man1/perl6.1
+	$(POD2MAN) docs/running.pod > $(DESTDIR)$(MANDIR)/man1/rakudo.1
 
 xmas: $(PERL6_EXE)
 

Reply via email to