blob: 2f49fb84ae8b364d85a1a6af292cb974c60d773f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
DISTCHECK_CONFIGURE_FLAGS = --with-udevdir='$${libdir}/udev-distcheck'
mpidir = $(datadir)/media-player-info
dist_mpi_DATA = $(shell find $(top_srcdir)/media-players -name "*.mpi" -printf "%p\n" | LC_ALL=C sort)
udevrulesdir = $(UDEV_DIR)/rules.d
nodist_udevrules_DATA = 40-usb-media-players.rules
40-usb-media-players.rules: $(dist_mpi_DATA) $(top_srcdir)/tools/mpi2udev.py
$(PYTHON) $(top_srcdir)/tools/mpi2udev.py $(dist_mpi_DATA) > 40-usb-media-players.rules
$(PYTHON) $(top_srcdir)/tools/udev-syntax-check.py 40-usb-media-players.rules
udevhwdbdir = $(UDEV_DIR)/hwdb.d
nodist_udevhwdb_DATA = 20-usb-media-players.hwdb
20-usb-media-players.hwdb: $(dist_mpi_DATA) $(top_srcdir)/tools/mpi2hwdb.py
$(PYTHON) $(top_srcdir)/tools/mpi2hwdb.py $(dist_mpi_DATA) > 20-usb-media-players.hwdb
org.freedesktop.media_player_info.metainfo.xml: $(top_srcdir)/tools/mpi2appstream.py
$(PYTHON) $(top_srcdir)/tools/mpi2appstream.py $(dist_mpi_DATA) > org.freedesktop.media_player_info.metainfo.xml
metainfodir = $(datarootdir)/metainfo
nodist_metainfo_DATA = org.freedesktop.media_player_info.metainfo.xml
clean-local:
rm -f 40-usb-media-players.rules 20-usb-media-players.hwdb org.freedesktop.media_player_info.metainfo.xml
EXTRA_DIST = \
tools/COPYING \
tools/mpi2appstream.py \
tools/mpi2hwdb.py \
tools/mpi2udev.py \
tools/udev-syntax-check.py
|