Maybe we should build all packages with their respective documentation,
and just modify pacman so that that it can ignore or install the files
in: /usr/share/info and /usr/share/doc, for example:

pacman -S --documented gcc

or add an option to pacman.conf like:

InstallInfos = Yes

Otherwise the guys that need the documentation would be forced to
recompile every package they need.
If you dont want the Info pages then pacman would just skip copying the
documentation directories...

:-D



On Sun, 2005-04-10 at 14:14 -0400, Yonathan Dossow wrote:
> Jason Chu wrote:
> 
> >>>I'd also want a patch for makepkg to actually support it.
> >>>      
> >>>
> >>===================
> >>[EMAIL PROTECTED] src]# diff -u /usr/bin/makepkg /usr/local/bin/makepkg
> >>--- /usr/bin/makepkg    2005-01-11 18:01:28.000000000 -0500
> >>+++ /usr/local/bin/makepkg      2005-04-01 17:36:45.000000000 -0500
> >>@@ -562,8 +562,8 @@
> >>
> >> # remove info/doc files
> >> cd $startdir
> >>-rm -rf pkg/usr/info pkg/usr/share/info
> >>-rm -rf pkg/usr/doc pkg/usr/share/doc
> >>+#rm -rf pkg/usr/info pkg/usr/share/info
> >>+#rm -rf pkg/usr/doc pkg/usr/share/doc
> >>
> >> # move /usr/share/man files to /usr/man
> >> if [ -d pkg/usr/share/man ]; then
> >>====================
> >>    
> >>
> >
> >  
> >
> maybe makepkg needs an extra option to build with the documentation, 
> like makepkg  ---doc,  then if the user need docs, rebuild the pkg.
> 
> >Are any info files stored in /usr/share/doc?  If they aren't I wonder
> >why you commented out that one.  Arch still won't include all the extra
> >documentation.
> >
> >  
> >
> >>:-)
> >>
> >>But to do it right you need to add post_installs to the various
> >>packages to add the entry into the info directory 'dir'.
> >>
> >>Along the lines of:
> >>
> >># cd /usr/info
> >># install-info gcc.info dir
> >>    
> >>
> >
> >Does install-info modify something locally on the system?  Or just
> >modify the info files, like when you compress man pages...
> >
> >Jason
> >
> >  
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >arch mailing list
> >[email protected]
> >http://www.archlinux.org/mailman/listinfo/arch
> >  
> >
> 
> 
> _______________________________________________
> arch mailing list
> [email protected]
> http://www.archlinux.org/mailman/listinfo/arch


_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to