Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 380887 | Differences between
and this patch

Collapse All | Expand All

(-)a/Makefile (-3 / +3 lines)
Lines 395-408 tools/input_common_joyconfig.o: input/input_common.c Link Here
395
install: $(TARGET)
395
install: $(TARGET)
396
	mkdir -p $(DESTDIR)$(PREFIX)/bin 2>/dev/null || /bin/true
396
	mkdir -p $(DESTDIR)$(PREFIX)/bin 2>/dev/null || /bin/true
397
	mkdir -p $(DESTDIR)$(GLOBAL_CONFIG_DIR) 2>/dev/null || /bin/true
397
	mkdir -p $(DESTDIR)$(GLOBAL_CONFIG_DIR) 2>/dev/null || /bin/true
398
	mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 2>/dev/null || /bin/true
398
	mkdir -p $(DESTDIR)/usr/share/man/man1 2>/dev/null || /bin/true
399
	mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps 2>/dev/null || /bin/true
399
	mkdir -p $(DESTDIR)/usr/share/pixmaps 2>/dev/null || /bin/true
400
	install -m755 $(TARGET) $(DESTDIR)$(PREFIX)/bin 
400
	install -m755 $(TARGET) $(DESTDIR)$(PREFIX)/bin 
401
	install -m644 retroarch.cfg $(DESTDIR)$(GLOBAL_CONFIG_DIR)/retroarch.cfg
401
	install -m644 retroarch.cfg $(DESTDIR)$(GLOBAL_CONFIG_DIR)/retroarch.cfg
402
	install -m644 docs/retroarch.1 $(DESTDIR)$(MAN_DIR)
402
	install -m644 docs/retroarch.1 $(DESTDIR)$(MAN_DIR)
403
	install -m644 docs/retroarch-joyconfig.1 $(DESTDIR)$(MAN_DIR)
403
	install -m644 docs/retroarch-joyconfig.1 $(DESTDIR)$(MAN_DIR)
404
	install -m755 retroarch-zip $(DESTDIR)$(PREFIX)/bin
404
	install -m755 retroarch-zip $(DESTDIR)$(PREFIX)/bin
405
	install -m644 media/retroarch.png $(DESTDIR)$(PREFIX)/share/pixmaps
405
	install -m644 media/retroarch.png $(DESTDIR)/usr/share/pixmaps
406
406
407
uninstall:
407
uninstall:
408
	rm -f $(DESTDIR)$(PREFIX)/bin/retroarch
408
	rm -f $(DESTDIR)$(PREFIX)/bin/retroarch
(-)a/qb/qb.params.sh (-2 / +2 lines)
Lines 41-47 EOF Link Here
41
opt_exists() # $opt is returned if exists in OPTS
41
opt_exists() # $opt is returned if exists in OPTS
42
{	opt=$(echo "$1" | tr '[a-z]' '[A-Z]')
42
{	opt=$(echo "$1" | tr '[a-z]' '[A-Z]')
43
	for OPT in $OPTS; do [ "$opt" = "$OPT" ] && return; done
43
	for OPT in $OPTS; do [ "$opt" = "$OPT" ] && return; done
44
	print_help; exit 1
44
	print_help; echo "Unknown option $1"
45
}
45
}
46
46
47
parse_input() # Parse stuff :V
47
parse_input() # Parse stuff :V
Lines 69-75 parse_input() # Parse stuff :V Link Here
69
				eval "$opt=$val"
69
				eval "$opt=$val"
70
			;;
70
			;;
71
			-h|--help) print_help; exit 0;;
71
			-h|--help) print_help; exit 0;;
72
			*) print_help; exit 1;;
72
			*) echo "Unknown option $1";;
73
		esac
73
		esac
74
		shift
74
		shift
75
	done
75
	done

Return to bug 380887