diff options
author | steelman <stlman@poczta.fm> | 2017-03-15 00:16:47 +0100 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-17 16:23:29 -0400 |
commit | 00c54bbbfe0cab442cd5fbaca199d5cafb0f01ad (patch) | |
tree | fa0a8dc54866088b46827c0e3550845274b4abc3 /Makefile.am | |
parent | d60c527009133a1ed3d69c14b8c837c790e78d10 (diff) |
build-sys: make RPM macros installation path configurable (#5564)systemd/v233-3
--with-rpmmacrosdir=no disables installation of the macros.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 2a5610740e..3a1d769c5d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -59,7 +59,7 @@ polkitrulesdir=$(datadir)/polkit-1/rules.d polkitpkladir=$(localstatedir)/lib/polkit-1/localauthority/10-vendor.d bashcompletiondir=@bashcompletiondir@ zshcompletiondir=@zshcompletiondir@ -rpmmacrosdir=$(prefix)/lib/rpm/macros.d +rpmmacrosdir=@rpmmacrosdir@ sysvinitdir=$(SYSTEM_SYSVINIT_PATH) sysvrcnddir=$(SYSTEM_SYSVRCND_PATH) varlogdir=$(localstatedir)/log @@ -178,6 +178,7 @@ CLEANFILES = $(BUILT_SOURCES) \ $(pkgconfiglib_DATA) \ $(nodist_bashcompletion_data) \ $(nodist_zshcompletion_data) \ + $(nodist_rpmmacros_DATA) \ $(in_files:.in=) $(in_in_files:.in.in=) \ $(m4_files:.m4=) @@ -1498,8 +1499,10 @@ polkitpolicy_in_in_files += \ pkgconfigdata_DATA += \ src/core/systemd.pc +if ENABLE_RPM_MACROS nodist_rpmmacros_DATA = \ src/core/macros.systemd +endif BUILT_SOURCES += \ src/core/triggers.systemd @@ -6567,6 +6570,7 @@ DISTCHECK_CONFIGURE_FLAGS = \ --with-zshcompletiondir=$$dc_install_base/$(zshcompletiondir) \ --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ --with-pamconfdir=$$dc_install_base/$(pamconfdir) \ + --with-rpmmacrosdir=$$dc_install_base/$(rpmmacrosdir) \ --with-rootprefix=$$dc_install_base \ --enable-compat-libs |