summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authortjg <tjg>1999-10-12 14:10:22 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:16 +0100
commit84872e38eee4c7f5fec2a12563f9607e62c94219 (patch)
tree72b29e19c760bdd81d2642a464bbc41937bbb5de /Makefile.am
parent43ce7b24fad3fc46860648d00544176526dcafcc (diff)
1999-10-12
Portability: status.c assumes traditional Unix layout of 0 and 1 exit statuses in the parent, which is not shared by BeOS. Add mkstatval.c.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ccd990b..d6d23f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,7 @@ SYSTEM = system.o
endif
bin_PROGRAMS = rc
-noinst_PROGRAMS = mksignal tripping $(HISTORY)
+noinst_PROGRAMS = mksignal mkstatval tripping $(HISTORY)
rc_SOURCES = builtins.c except.c exec.c fn.c footobar.c getopt.c glob.c glom.c hash.c heredoc.c input.c lex.c list.c main.c match.c nalloc.c open.c parse.c print.c redir.c signal.c status.c tree.c utils.c var.c wait.c walk.c which.c
@@ -44,6 +44,9 @@ EXTRA_DIST = EXAMPLES RELDATE addon.c addon.h history.1 parse.y rc.1 trip.rc
sigmsgs.c sigmsgs.h: mksignal
./mksignal
+statval.h: mkstatval
+ ./mkstatval > statval.h
+
CONFIGURE_DEPENDENCIES = RELDATE
DISTCLEANFILES = sigmsgs.c sigmsgs.h