FS#15042 - [ghc] package doesn't include man page
Attached to Project:
Arch Linux
Opened by Magnus Therning (magus) - Wednesday, 10 June 2009, 12:56 GMT
Last edited by Paul Mattal (paul) - Wednesday, 20 January 2010, 12:39 GMT
Opened by Magnus Therning (magus) - Wednesday, 10 June 2009, 12:56 GMT
Last edited by Paul Mattal (paul) - Wednesday, 20 January 2010, 12:39 GMT
|
Details
Description:
The current package does not include the man-page for ghc. It is installed as part of the 'install-docs' target. Additional info: * ghc-6.10.3-1-x86_64.pkg.tar.gz |
This task depends upon
Closed by Paul Mattal (paul)
Wednesday, 20 January 2010, 12:39 GMT
Reason for closing: Fixed
Additional comments about closing: Man page present in 6.12.1-2.
Wednesday, 20 January 2010, 12:39 GMT
Reason for closing: Fixed
Additional comments about closing: Man page present in 6.12.1-2.
http://hackage.haskell.org/trac/ghc/ticket/730
Set GhcManpages?=YES in mk/build.mk if you want to build the manpage.
Guess we have to try something else.
install-docs ::
@case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
for i in $(SUBDIRS); do \
echo "------------------------------------------------------------------------"; \
echo "== $(MAKE) $@ $(MFLAGS);"; \
echo " in $(shell pwd)/$$i"; \
echo "------------------------------------------------------------------------"; \
$(MAKE) --no-print-directory -C $$i $(INSTALL_STAGE) $(MFLAGS) $@; \
if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ; then true; else exit 1; fi; \
done
I added 'make DESTDIR=$startdir/pkg install-docs' just after the install target, and after installing the resulting package I see the following:
% pacman -Ql -p ghc-6.10.4-1-x86_64.pkg.tar.gz|grep man1
ghc /usr/share/man/man1/
ghc /usr/share/man/man1/ghc.1.gz
Will try that later. Thanks!
[pjmattal@tic trunk]$ sudo pacman -U ./ghc-6.10.4-2-i686.pkg.tar.gz
Password:
loading package data...
checking dependencies...
(1/1) checking for file conflicts [###################################################################################################] 100%
/tmp/alpm_4QnIAn/.INSTALL: line 7: cd: /usr/share/haskell/: No such file or directory
==> Unregistering cabalized packages...
==> Done.
(1/1) upgrading ghc [###################################################################################################] 100%
==> All cabalized and yaourt-installed packages need to be reinstalled now.
==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
Anyone know if /usr/share/haskell has moved elsewhere? I don't really use ghc, so I could figure it out if needed, but figured someone might know more quickly.
6.12.1-2 includes a man page. Can this be closed?