1
0
Fork 0
forked from Miroirs/x49gp

clean install before release

This commit is contained in:
Gwenhael Le Moine 2024-11-13 11:10:09 +01:00
parent 11b03214c8
commit 7b90c324fe
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
8 changed files with 8 additions and 5 deletions

View file

@ -226,13 +226,12 @@ INSTALL_MAN_DIR = "$(INSTALL_PREFIX)/share/man/man1"
dist/$(TARGET).desktop: dist/$(TARGET).desktop.in dist/$(TARGET).desktop: dist/$(TARGET).desktop.in
perl -p -e "s!TARGET!$(TARGET)!" < dist/$(TARGET).desktop.in >$@ perl -p -e "s!TARGET!$(TARGET)!" < dist/$(TARGET).desktop.in >$@
dist/$(TARGET).man: dist/$(TARGET).man.in dist/$(TARGET).man: dist/$(TARGET).scd
scdoc < dist/$(TARGET).scd >$@ scdoc < dist/$(TARGET).scd >$@
install: all dist/$(TARGET).desktop dist/$(TARGET).man install: all dist/$(TARGET).desktop dist/$(TARGET).man
install -D -m 755 dist/$(TARGET) "$(DESTDIR)$(INSTALL_BINARY_DIR)/$(TARGET)" install -D -m 755 dist/$(TARGET) "$(DESTDIR)$(INSTALL_BINARY_DIR)/$(TARGET)"
mkdir -p "$(DESTDIR)$(INSTALL_DATA_DIR)/" mkdir -p "$(DESTDIR)$(INSTALL_DATA_DIR)/"
cp dist/*.png "$(DESTDIR)$(INSTALL_DATA_DIR)/"
install -D -m 644 dist/$(TARGET).desktop "$(DESTDIR)$(INSTALL_MENU_DIR)/$(TARGET).desktop" install -D -m 644 dist/$(TARGET).desktop "$(DESTDIR)$(INSTALL_MENU_DIR)/$(TARGET).desktop"
install -D -m 644 dist/$(TARGET).man "$(DESTDIR)$(INSTALL_MAN_DIR)/$(TARGET).1" install -D -m 644 dist/$(TARGET).man "$(DESTDIR)$(INSTALL_MAN_DIR)/$(TARGET).1"
cp -R dist/firmware/ "$(DESTDIR)$(INSTALL_DATA_DIR)/firmware" cp -R dist/firmware/ "$(DESTDIR)$(INSTALL_DATA_DIR)/firmware"

BIN
dist/blank.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

BIN
dist/hp49g+.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 416 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 431 KiB

BIN
dist/hp50g-cropped.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

BIN
dist/hp50g.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 KiB

View file

@ -97,8 +97,11 @@ static void print_config( void )
fprintf( stdout, "-- This is a comment\n" ); fprintf( stdout, "-- This is a comment\n" );
fprintf( stdout, "name = \"%s\" -- this customize the title of the window\n", opt.name ); fprintf( stdout, "name = \"%s\" -- this customize the title of the window\n", opt.name );
fprintf( stdout, "model = \"%s\" -- possible values: \"49gp\", \"50g\". Changes the colors and the bootloader looked for when (re-)flashing\n", opt.model == MODEL_50G ? "50g" : "49gp" ); fprintf( stdout,
fprintf( stdout, "newrpl_keyboard = %s -- when true this makes the keyboard labels more suited to newRPL use\n", opt.newrpl ? "true" : "false" ); "model = \"%s\" -- possible values: \"49gp\", \"50g\". Changes the colors and the bootloader looked for when (re-)flashing\n",
opt.model == MODEL_50G ? "50g" : "49gp" );
fprintf( stdout, "newrpl_keyboard = %s -- when true this makes the keyboard labels more suited to newRPL use\n",
opt.newrpl ? "true" : "false" );
fprintf( stdout, "font = \"%s\"\n", opt.font ); fprintf( stdout, "font = \"%s\"\n", opt.font );
fprintf( stdout, "font_size = %i -- integer only\n", opt.font_size ); fprintf( stdout, "font_size = %i -- integer only\n", opt.font_size );
fprintf( stdout, "display_scale = %i -- integer only\n", opt.display_scale ); fprintf( stdout, "display_scale = %i -- integer only\n", opt.display_scale );
@ -188,7 +191,8 @@ void config_init( char* progname, int argc, char* argv[] )
" in the area beyond the firmware\n" " in the area beyond the firmware\n"
" -r --reboot reboot on startup instead of continuing from the\n" " -r --reboot reboot on startup instead of continuing from the\n"
" saved state in the state file\n\n" " saved state in the state file\n\n"
"The state file is formatted as INI file and contains the settings for which persistence makes sense like CPU registers, etc.\n" "The state file is formatted as INI file and contains the settings for which persistence makes sense like CPU "
"registers, etc.\n"
"If the state file is omitted, ~/.config/%s/state is used.\n" "If the state file is omitted, ~/.config/%s/state is used.\n"
"Please consult the manual for more details on state file settings.\n", "Please consult the manual for more details on state file settings.\n",
progname, VERSION_MAJOR, VERSION_MINOR, PATCHLEVEL, progname, DEFAULT_GDBSTUB_PORT, progname ); progname, VERSION_MAJOR, VERSION_MINOR, PATCHLEVEL, progname, DEFAULT_GDBSTUB_PORT, progname );