gbdev / rgbds

Rednex Game Boy Development System - An assembly toolchain for the Nintendo Game Boy and Game Boy Color
https://rgbds.gbdev.io
MIT License
1.35k stars 172 forks source link

Missing man page #145

Closed aaaaaa123456789 closed 7 years ago

aaaaaa123456789 commented 7 years ago

The rgblink(1) man page points towards an rgblink(5) man page, but building and installing the repository's contents (as they currently are) doesn't create any such man page.

AntonioND commented 7 years ago

Should be fixed in https://github.com/rednex/rgbds/commit/f0d4750ebc4d3fc5c6c0a2f36d14b59e8dd2d3fa

aaaaaa123456789 commented 7 years ago
[20:32:24] ax6@n2 ~/Desktop/tpp/rgbds/mainrepo $ make clean
[20:32:31] ax6@n2 ~/Desktop/tpp/rgbds/mainrepo $ make
src/asm/asmy.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr]
src/asm/asmy.y: warning: 3 reduce/reduce conflicts [-Wconflicts-rr]
[20:32:34] ax6@n2 ~/Desktop/tpp/rgbds/mainrepo $ sudo make install
install: cannot create regular file ‘/usr/local/man/man5/rgblink.5’: No such file or directory
make: *** [install] Error 1
AntonioND commented 7 years ago

Where are the others being installed? Try make install Q=

aaaaaa123456789 commented 7 years ago
[20:32:37] ax6@n2 ~/Desktop/tpp/rgbds/mainrepo $ sudo make install Q=
mkdir -p /usr/local/bin
install -s -m 555 rgbasm /usr/local/bin/rgbasm
install -s -m 555 rgbfix /usr/local/bin/rgbfix
install -s -m 555 rgblink /usr/local/bin/rgblink
install -s -m 555 rgbgfx /usr/local/bin/rgbgfx
mkdir -p /usr/local/man/man1 /usr/local/man/man7
install -m 444 src/rgbds.7 /usr/local/man/man7/rgbds.7
install -m 444 src/asm/rgbasm.1 /usr/local/man/man1/rgbasm.1
install -m 444 src/fix/rgbfix.1 /usr/local/man/man1/rgbfix.1
install -m 444 src/link/rgblink.1 /usr/local/man/man1/rgblink.1
install -m 444 src/link/rgblink.5 /usr/local/man/man5/rgblink.5
install: cannot create regular file ‘/usr/local/man/man5/rgblink.5’: No such file or directory
make: *** [install] Error 1
AntonioND commented 7 years ago

Oh, I see, the folder isn't being created...

aaaaaa123456789 commented 7 years ago

Yep, that's correct.

[20:37:10] ax6@n2 ~/Desktop/tpp/rgbds/mainrepo $ ls /usr/local/man
man1  man6  man7  man8

I don't have it, and it isn't being created.

AntonioND commented 7 years ago

Should be fixed now: https://github.com/rednex/rgbds/commit/53842cd07d8ebfb05ce2cba545279ed0cae58210