File: make-enums.sh

package info (click to toggle)
rust-evdev-rs 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 384 kB
  • sloc: python: 211; makefile: 4; sh: 3
file content (7 lines) | stat: -rwxr-xr-x 190 bytes parent folder | download
1
2
3
4
5
6
7
#!/usr/bin/env bash

set -eux

HEADER_DIR=evdev-sys/libevdev/include/linux/linux

./tools/make-event-names.py $HEADER_DIR/input-event-codes.h $HEADER_DIR/input.h | head -n -1 > src/enums.rs