Skip to content

Commit c727491

Browse files
committed
contrib: extract build recipes for shell wrappers
Also, break up a long line. Signed-off-by: Johannes Altmanninger <aclopte@gmail.com>
1 parent 9630c66 commit c727491

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

contrib/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mc-wrapper.csh
2-
mc-wrapper.sh
1+
mc-wrapper.*
2+
!mc-wrapper.*.in
33
mc.csh
44
mc.sh

contrib/Makefile.am

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11

22
noinst_DATA = README.xterm
33

4-
SCRIPTS_IN = mc.csh.in mc.sh.in mc-wrapper.csh.in mc-wrapper.sh.in
5-
SCRIPTS_OUT = mc.csh mc.sh mc-wrapper.csh mc-wrapper.sh
4+
SCRIPTS_IN = \
5+
mc.csh.in \
6+
mc.sh.in \
7+
mc-wrapper.csh.in \
8+
mc-wrapper.sh.in
9+
SCRIPTS_OUT = \
10+
mc.csh \
11+
mc.sh \
12+
mc-wrapper.csh \
13+
mc-wrapper.sh
614

715
pkglibexec_SCRIPTS = $(SCRIPTS_OUT)
816

@@ -17,15 +25,8 @@ EXTRA_DIST = \
1725
$(SCRIPTS_IN) \
1826
$(noinst_DATA)
1927

20-
mc.csh: $(top_builddir)/config.status $@.in
28+
mc.: $(top_builddir)/config.status $@.in
2129
$(SED) "s%@""pkglibexecdir@%$(pkglibexecdir)%" $@.in > $@
2230

23-
mc.sh: $(top_builddir)/config.status $@.in
24-
$(SED) "s%@""pkglibexecdir@%$(pkglibexecdir)%" $@.in > $@
25-
26-
mc-wrapper.csh: $(top_builddir)/config.status $@.in
31+
mc-wrapper.: $(top_builddir)/config.status $@.in
2732
$(SED) "s%@""bindir@%$(bindir)%" $@.in > $@
28-
29-
mc-wrapper.sh: $(top_builddir)/config.status $@.in
30-
$(SED) "s%@""bindir@%$(bindir)%" $@.in > $@
31-

0 commit comments

Comments
 (0)