u8sand / Baka-MPlayer

The libmpv based media player
https://u8sand.github.io/Baka-MPlayer/
GNU General Public License v2.0
433 stars 93 forks source link

Problem with DOCS Directory #213

Open ghost opened 8 years ago

ghost commented 8 years ago

Hello,

I compiled 2.0.4 from source, below are my system specs;

Slackware 14.1 x86_64 Openbox 3.6.1 tint2 0.12.11 QT5 5.5.1

This is some of my compile options for Baka-MPlayer that I used in a build script;

mkdir $TMP/$PRGNAM-$VERSION/build cd $TMP/$PRGNAM-$VERSION/build qmake-qt5 $TMP/$PRGNAM-$VERSION/src \ MANDIR=/usr/man \ DOCDIR=/usr/doc/$PRGNAM-$VERSION \ CONFIG+=release \ -spec linux-g++ make cd $TMP/$PRGNAM-$VERSION/build make INSTALL_ROOT=$PKG install

cd ..

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cd $TMP/$PRGNAM-$VERSION/DOCS cp -a commands.md settings.md translations.md \ $PKG/usr/doc/$PRGNAM-$VERSION/baka-mplayer

What I noticed is that I have to manually copy these files;

commands.md settings.md translations.md

I'm assuming those are suppose to of been put in the /usr/docs directory by default?

Also I noticed there are two man pages listed in DOCS;

baka-mplayer.1 & baka-mplayer.man

Not sure why the .man exists, shouldn't this be removed and only keep the .1?