build: Add support for compiler analyzer flags
[dpkg.git] / scripts / mk / Makefile.am
bloba82e409d6fd36f7d5a3828a45c349a2d46eeedca
1 ## Process this file with automake to produce Makefile.in
3 dist_pkgdata_DATA = \
4         architecture.mk \
5         buildflags.mk \
6         buildopts.mk \
7         buildtools.mk \
8         default.mk \
9         pkg-info.mk \
10         vendor.mk \
11         # EOL
13 SUFFIXES =
15 include $(top_srcdir)/build-aux/subst.am
17 # Ideally we'd use '$(SED) -i', but unfortunately that's not portable.
18 install-data-hook:
19         $(do_make_subst) <$(DESTDIR)$(pkgdatadir)/default.mk \
20                          >$(DESTDIR)$(pkgdatadir)/default.mk.new
21         mv $(DESTDIR)$(pkgdatadir)/default.mk.new \
22            $(DESTDIR)$(pkgdatadir)/default.mk
24         $(do_make_subst) <$(DESTDIR)$(pkgdatadir)/buildtools.mk \
25                          >$(DESTDIR)$(pkgdatadir)/buildtools.mk.new
26         mv $(DESTDIR)$(pkgdatadir)/buildtools.mk.new \
27            $(DESTDIR)$(pkgdatadir)/buildtools.mk