diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-12-22 10:09:22 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-01-04 21:57:55 -0500 |
commit | bbed6c0d4b54d9c4e510415770e091d79eee2e8e (patch) | |
tree | 98cb3b7947f10af17fcd9b8e8f56b2ccd2c09dc5 | |
parent | a83ad683fd13e27b3c4e582ecd6c3852245dbe2f (diff) |
systemd-analyze: pipe through SED_PROCESS
To be able to add --version and change python binary.
-rw-r--r-- | Makefile.am | 16 | ||||
-rwxr-xr-x | src/analyze/systemd-analyze.in (renamed from src/analyze/systemd-analyze) | 0 |
2 files changed, 13 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 2a673555bb..c5af8e8135 100644 --- a/Makefile.am +++ b/Makefile.am @@ -183,9 +183,6 @@ bin_PROGRAMS = \ systemd-detect-virt \ systemd-delta -dist_bin_SCRIPTS = \ - src/analyze/systemd-analyze - rootlibexec_PROGRAMS = \ systemd \ systemd-cgroups-agent \ @@ -211,6 +208,15 @@ systemgenerator_PROGRAMS = \ systemd-fstab-generator \ systemd-system-update-generator +dist_bin_SCRIPTS = \ + src/analyze/systemd-analyze + +EXTRA_DIST += \ + src/analyze/systemd-analyze.in + +CLEANFILES += \ + src/analyze/systemd-analyze + dist_bashcompletion_DATA = \ shell-completion/systemd-bash-completion.sh @@ -3824,6 +3830,10 @@ src/%.policy.in: src/%.policy.in.in Makefile $(SED_PROCESS) $(AM_V_GEN)chmod +x $@ +src/analyze/systemd-analyze: %: %.in Makefile + $(SED_PROCESS) + $(AM_V_GEN)chmod +x $@ + src/%.c: src/%.gperf $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GEN)$(GPERF) < $< > $@ diff --git a/src/analyze/systemd-analyze b/src/analyze/systemd-analyze.in index de602be242..de602be242 100755 --- a/src/analyze/systemd-analyze +++ b/src/analyze/systemd-analyze.in |