summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 19:10:44 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 19:10:44 -0400
commite9b248b8259831b859a4e15c99582d29b3b6e2b0 (patch)
tree54810944d49d3209566cc4158bf4c6af17b9e286
parent1688e7d463d6c7e6f07e176bc8bb3305c9050caf (diff)
more stuff
-rw-r--r--Makefile.am8
-rwxr-xr-xmove.sh5
2 files changed, 12 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 056d04db28..a48d85101e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3219,6 +3219,7 @@ libsystemd_la_LIBADD = \
$(libsystemd_internal_la_LIBADD) \
$(libsystemd_journal_internal_la_LIBADD)
+#@discard.mk
libsystemd-install-hook:
libname=libsystemd.so && $(move-to-rootlibdir)
@@ -3228,6 +3229,7 @@ libsystemd-uninstall-hook:
INSTALL_EXEC_HOOKS += libsystemd-install-hook
UNINSTALL_EXEC_HOOKS += libsystemd-uninstall-hook
+#@src/libsystemd/Makefile
pkgconfiglib_DATA += \
src/libsystemd/libsystemd.pc
@@ -3243,6 +3245,8 @@ pkginclude_HEADERS += \
lib_LTLIBRARIES += \
libsystemd.la
+# ------------------------------------------------------------------------------
+
tests += \
test-bus-marshal \
test-bus-signature \
@@ -3602,6 +3606,7 @@ pkgconfiglib_DATA += \
EXTRA_DIST += \
src/libudev/libudev.pc.in
+#@discard.mk
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
libudev-install-hook:
libname=libudev.so && $(move-to-rootlibdir)
@@ -6031,11 +6036,13 @@ substitutions = \
'|binfmtdir=$(binfmtdir)|' \
'|modulesloaddir=$(modulesloaddir)|'
+#@build-aux/Makefile.once.head/20-systemd.mk
SED_PROCESS = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
< $< > $@
+#@build-aux/Makefile.each.tail/20-systemd.mk
units/%: units/%.in
$(SED_PROCESS)
@@ -6095,6 +6102,7 @@ units/user/%: units/user/%.m4 $(top_builddir)/config.status
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@
+#@discard.mk
if ENABLE_POLKIT
nodist_polkitpolicy_DATA = \
$(polkitpolicy_files) \
diff --git a/move.sh b/move.sh
index 2f9a534163..a59a30227a 100755
--- a/move.sh
+++ b/move.sh
@@ -141,7 +141,10 @@ fixup_includes() (
fixup_makefile() {
sed -r \
-e '/^[^# ]*:/ { s|^(\s*)\S+/|\1$(outdir)/| }' \
- -e 's|^if (.*)|ifneq ($(\1),)|'
+ -e 's|^if (.*)|ifneq ($(\1),)|' \
+ -e 's|rootprefix|prefix|g' \
+ -e 's|rootbin|bin|g' \
+ -e 's|rootlib|lib|g'
}
fixup_makefiles() (