Makefile.am: Rule to autogenerate ChangeLog from git on make dist

This commit is contained in:
Sascha Hlusiak
2007-04-24 22:23:43 -04:00
parent 25b5234948
commit 461b57cdb1
6 changed files with 17 additions and 55 deletions

2
.gitignore vendored
View File

@@ -18,3 +18,5 @@ ltmain.sh
missing
stamp-h1
*~
xf86-input-joystick-*.tar.bz2
xf86-input-joystick-*.tar.gz

View File

@@ -1,51 +0,0 @@
2007-03-13 Sascha Hlusiak <saschahlusiak@freedesktop.org>
* src/xf86Jstk.c:
Cleaning and rearranging of code.
Made the module actually work at all.
2006-04-06 Adam Jackson <ajax@freedesktop.org>
* configure.ac:
* src/xf86Jstk.c:
Unlibcwrap. Bump server version requirement. Bump to 1.1.0.
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
Update package version for X11R7 release.
2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
Update package version number for final X11R7 release candidate.
2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
* man/Makefile.am:
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
Update package version number for X11R7 RC3 release.
2005-12-01 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
Remove extraneous AC_MSG_RESULT.
2005-11-29 Adam Jackson <ajax@freedesktop.org>
* configure.ac:
Only build dlloader modules by default.
2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
Update package version number for X11R7 RC2 release.
2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
Update pkgcheck dependencies to work with separate build roots.

View File

@@ -20,3 +20,14 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src man
EXTRA_DIST = autogen.sh ChangeLog
CLEANFILES = ChangeLog
.PHONY: ChangeLog
ChangeLog:
(GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
dist-hook: ChangeLog

2
man/.gitignore vendored
View File

@@ -1,3 +1,3 @@
Makefile
Makefile.in
joystick.4x
joystick.4

View File

@@ -154,7 +154,7 @@ This example will set up the axis as scrolling vertically inverted, which half o
.BI " Option \*qMapAxis1\*q \*q" "mode=accelerated axis=-0.5zy" \*q
.fi
THis example maps four buttons to the four half axes, so you can use them like a pad. The movement will get half
This example maps four buttons to the four half axes, so you can use them like a pad. The movement will get half
the normal speed:
.nf
.BI " Option \*qMapButton1\*q \*q" "axis=+0.5x" \*q

View File

@@ -126,8 +126,8 @@ jstkAxisTimer(OsTimerPtr timer,
if (priv->button[i].currentspeed < 100.0f) priv->button[i].currentspeed =
(priv->button[i].currentspeed + 3.0) * 1.07f - 3.0;
p1 = priv->button[i].currentspeed * (float)NEXTTIMER / 180.0f *
priv->button[i].amplify;
p1 = priv->button[i].currentspeed * (float)NEXTTIMER / 180.0f *
priv->button[i].amplify;
p1 *= priv->amplify;
p2 = p1 / 8.0f;