core-deps-latest: Pull gtkmm-3 from the gtkmm-3-24 branch
[jhbuild.git] / Makefile.am
blob7744d47b808d0c99cf413eb49b876d2e25b1a556
1 SUBDIRS = po examples scripts triggers jhbuild buildbot
3 if DOC_INSTALLATION_ENABLED
4 SUBDIRS += doc
5 endif
7 PATCHES = $(wildcard $(top_srcdir)/patches/*.patch)
8 MODULESETS = $(wildcard $(top_srcdir)/modulesets/*.modules)
9 DTDS = \
10         modulesets/moduleset.dtd \
11         modulesets/moduleset.rnc \
12         $(NULL)
14 if GUI_ENABLED
15 desktopdir = $(datadir)/applications
16 desktop_DATA = jhbuild.desktop
18 jhbuild.desktop.in: jhbuild.desktop.in.in
19         $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
21 # Substitute variables in a Desktop Entry file.
22 jhbuild.desktop: jhbuild.desktop.in
23         $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@
24 endif
26 EXTRA_DIST = $(PATCHES) $(MODULESETS) $(DTDS) \
27         modulesets/moduleset.xsl \
28         autogen.sh \
29         jhbuild.desktop.in.in jhbuild.desktop.in
31 CLEANFILES = \
32         $(desktop_DATA)
34 MAINTAINERCLEANFILES = \
35         jhbuild.desktop.in
37 install-exec-local:
38         $(srcdir)/scripts/debian-python2-postinstall-hook.sh $(DESTDIR)$(bindir)
40 # Check the modulesets for validity.
41 # This is a lower-level check than `jhbuild checkmodulesets` (which analyses the
42 # module graph), and doesn't require jhbuild to be built and installed.
44 # This will fail if xmllint or trang isn't installed.
45 check-modulesets:
46         xmllint --noout --dtdvalid $(srcdir)/modulesets/moduleset.dtd $(MODULESETS)
47         trang $(srcdir)/modulesets/moduleset.rnc $(builddir)/moduleset.rng
48         xmllint --noout --relaxng $(builddir)/moduleset.rng $(MODULESETS)
49         rm -f $(builddir)/moduleset.rng
50 .PHONY: check-modulesets
52 check: check-modulesets
53 .PHONY: check