Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install needs docs and man #1699

Closed
p6rt opened this issue Apr 16, 2010 · 5 comments
Closed

install needs docs and man #1699

p6rt opened this issue Apr 16, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 16, 2010

Migrated from rt.perl.org#74434 (status was 'resolved')

Searchable as RT74434$

@p6rt
Copy link
Author

p6rt commented Apr 16, 2010

From @rurban

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/

@p6rt
Copy link
Author

p6rt commented Apr 16, 2010

From @rurban

docs.patch
--- 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)
 

@p6rt
Copy link
Author

p6rt commented May 11, 2010

From @moritz

Applied as 75b3762c6448e327fbfccd40685cf3159844cb2a, thanks.

@p6rt
Copy link
Author

p6rt commented May 11, 2010

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented May 11, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed May 11, 2010
@p6rt p6rt added the patch label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant