Merge version.h, dist-cores.sh and version.all

This commit is contained in:
Alcaro 2017-09-26 01:05:43 +02:00
parent f75ce5fb5c
commit 5f6b79e7f4
8 changed files with 19 additions and 9 deletions

View file

@ -1,4 +1,4 @@
include Makefile.version
include version.all
DEBUG = 0

View file

@ -1,4 +1,4 @@
include Makefile.version
include version.all
#which compiler to build with - GCC or SNC
#set to GCC for debug builds for use with debugger

View file

@ -1,4 +1,4 @@
include Makefile.version
include version.all
#which compiler to build with - GCC or SNC
#set to GCC for debug builds for use with debugger

View file

@ -1,4 +1,4 @@
include Makefile.version
include version.all
DEBUG = 0
HAVE_LOGGER = 0

View file

@ -1 +0,0 @@
RARCH_VERSION = "1.6.7.0"

View file

@ -1,6 +1,6 @@
#!/bin/sh
RARCH_VERSION=1.6.7
source ../version.all
PLATFORM=$1
SALAMANDER=no
MAKEFILE_GRIFFIN=no

13
version.all Normal file
View file

@ -0,0 +1,13 @@
# /* this file is a polyglot: it's valid C, Makefile and shell */
# /* this reduces the number of files to update when changing the version */
# /* files to change to update version: */
# /* - this one, obviously */
# /* - version.dtd */
# /* - pkg/snap/snapcraft.yaml (including the github url) */
#if 0
RARCH_VERSION="1.6.7"
#endif
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "1.6.7"
#endif

View file

@ -17,8 +17,6 @@
#ifndef RARCH_VERSION_H__
#define RARCH_VERSION_H__
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "1.6.7"
#endif
#include "version.all"
#endif