release.sh: fix tarball path for libinput
[xorg-util-modular.git] / x-indent.sh
blobfe0d7e66a8e153d1b216fdd3839a8d92a6289dcb
1 #!/bin/sh
3 # We want GNU indent, so first search for gindent to avoid /usr/bin/indent
4 # on the BSDs, which won't work for us
5 INDENT=`which gnuindent || which gindent || which indent`
7 if [ -z "${INDENT}" ] ; then
8 echo "Could not find indent, sorry..." >&2
9 exit 1
12 $INDENT -linux -bad -bap -blf -bli0 -cbi0 -cdw -nce -cs -i4 -lc80 -psl -nbbo \
13 -nbc -psl -nbfda -nut -nss -T pointer -T ScreenPtr -T ScrnInfoPtr -T pointer \
14 -T DeviceIntPtr -T DevicePtr -T ClientPtr -T CallbackListPtr \
15 -T CallbackProcPtr -T OsTimerPtr -T CARD32 -T CARD16 -T CARD8 \
16 -T INT32 -T INT16 -T INT8 -T Atom -T Time -T WindowPtr -T DrawablePtr \
17 -T PixmapPtr -T ColormapPtr -T CursorPtr -T Font -T XID -T Mask \
18 -T BlockHandlerProcPtr -T WakeupHandlerProcPtr -T RegionPtr \
19 -T InternalEvent -T GrabPtr -T Timestamp -T Bool -T TimeStamp \
20 -T xEvent -T DeviceEvent -T RawDeviceEvent -T GrabMask -T Window \
21 -T Drawable -T FontPtr -T CallbackPtr -T XIPropertyValuePtr \
22 -T GrabParameters -T deviceKeyButtonPointer -T TouchOwnershipEvent \
23 -T xGenericEvent -T DeviceChangedEvent -T GCPtr -T BITS32 \
24 -T xRectangle -T BoxPtr -T RegionRec -T ValuatorMask -T KeyCode \
25 -T KeySymsPtr -T XkbDescPtr -T InputOption -T XI2Mask -T DevUnion \
26 -T DevPrivateKey -T DevScreenPrivateKey -T PropertyPtr -T RESTYPE \
27 -T XkbAction -T XkbChangesPtr -T XkbControlsPtr -T PrivatePtr -T pmWait \
28 -T _XFUNCPROTOBEGIN -T _XFUNCPROTOEND -T _X_EXPORT "$@"