diff options
author | Gerald Carter <jerry@samba.org> | 2001-06-01 12:33:16 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2001-06-01 12:33:16 +0000 |
commit | e76caa5a8b2015211741253b5aa4e069621e411a (patch) | |
tree | 57e67493bb23366a97f2739d53261037ed38fffd /packaging/Solaris/makepkg.sh | |
parent | ff681c40678cca8e5b2fa5400fc4f9319c5aa869 (diff) | |
download | samba-e76caa5a8b2015211741253b5aa4e069621e411a.tar.gz samba-e76caa5a8b2015211741253b5aa4e069621e411a.tar.bz2 samba-e76caa5a8b2015211741253b5aa4e069621e411a.zip |
final sync with SAMBA_2_2
(This used to be commit a25f6694d230fe384c212350dacf17bfae3ab79d)
Diffstat (limited to 'packaging/Solaris/makepkg.sh')
-rwxr-xr-x | packaging/Solaris/makepkg.sh | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/packaging/Solaris/makepkg.sh b/packaging/Solaris/makepkg.sh index ea15eafbc3..b57e182e4a 100755 --- a/packaging/Solaris/makepkg.sh +++ b/packaging/Solaris/makepkg.sh @@ -52,6 +52,38 @@ add_dynamic_entries() echo f none samba/bin/$binfile=source/bin/$binfile 0755 root other fi done + + # Add the scripts to bin/ + echo "#\n# Scripts \n#" + cd $DISTR_BASE/source/script + for shfile in * + do + if [ -f $shfile ]; then + echo f none samba/bin/$shfile=source/script/$shfile 0755 root other + fi + done + + # Add the manpages + echo "#\n# man pages \n#" + echo d none /usr ? ? ? + echo d none /usr/share ? ? ? + echo d none /usr/share/man ? ? ? + + # Create directories for man page sections if nonexistent + cd $DISTR_BASE/docs/manpages + for i in 1 2 3 4 5 6 7 8 9 + do + manpages=`ls *.$i 2>/dev/null` + if [ $? -eq 0 ] + then + echo d none /usr/share/man/man$i ? ? ? + for manpage in $manpages + do + echo f none /usr/share/man/man${i}/${manpage}=docs/manpages/$manpage 0644 root other + done + fi + done + echo "#\n# HTML documentation \n#" cd $DISTR_BASE list=`find docs/htmldocs -type d | grep -v "/CVS$"` @@ -151,4 +183,3 @@ then pkgtrans /tmp samba.pkg samba fi echo The samba package is in /tmp -rm -f prototype |