mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 16:51:27 +00:00
Merge pull request #238 from sharkwouter/master
Display build date instead of unchanged version number
This commit is contained in:
2
.github/workflows/doxygen.yml
vendored
2
.github/workflows/doxygen.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Prepare Doxyfile
|
- name: Prepare Doxyfile
|
||||||
run: |
|
run: |
|
||||||
sed -e 's/\$(PROJECT)/PSPSDK/' \
|
sed -e 's/\$(PROJECT)/PSPSDK/' \
|
||||||
-e 's/\$(VERSION)/'`cat VERSION | xargs echo -n`'/' \
|
-e 's/\$(VERSION)/'`date +"%Y-%m-%d" | xargs echo -n`'/' \
|
||||||
-e 's/\$(SRCDIR)/src/g' \
|
-e 's/\$(SRCDIR)/src/g' \
|
||||||
-e 's/\$(GENERATE_LATEX)/NO/' \
|
-e 's/\$(GENERATE_LATEX)/NO/' \
|
||||||
-e 's/\$(HAVE_DOT)/YES/' \
|
-e 's/\$(HAVE_DOT)/YES/' \
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -40,3 +40,4 @@ stamp-h1
|
|||||||
compile_flags.txt
|
compile_flags.txt
|
||||||
EBOOT.PBP
|
EBOOT.PBP
|
||||||
PARAM.SFO
|
PARAM.SFO
|
||||||
|
VERSION
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[](https://github.com/pspdev/pspsdk/actions?query=workflow:CI) [](https://github.com/pspdev/pspsdk/actions?query=workflow:CI-Docker)
|
[](https://github.com/pspdev/pspsdk/actions?query=workflow:CI) [](https://github.com/pspdev/pspsdk/actions?query=workflow:CI-Docker)
|
||||||
|
|
||||||
Version 1.0+beta2 - https://github.com/pspdev/pspsdk
|
https://github.com/pspdev/pspsdk
|
||||||
|
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
@@ -36,12 +36,6 @@ msg() {
|
|||||||
[ $quiet -eq 0 ] && echo $1
|
[ $quiet -eq 0 ] && echo $1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -f $top_srcdir/VERSION ]; then
|
|
||||||
echo "${progname}:"
|
|
||||||
echo " Installation problem: Can't find file VERSION"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
-h|--help)
|
-h|--help)
|
||||||
@@ -64,6 +58,9 @@ while [ $# -gt 0 ]; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Create version file used while building
|
||||||
|
date +"%Y-%m-%d" > $top_srcdir/VERSION
|
||||||
|
|
||||||
# default mode is generation
|
# default mode is generation
|
||||||
if [ $generate -eq 1 ]; then
|
if [ $generate -eq 1 ]; then
|
||||||
msg "Running aclocal:"
|
msg "Running aclocal:"
|
||||||
|
Reference in New Issue
Block a user