summaryrefslogtreecommitdiff
path: root/package/targets.mak
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-10-09 17:24:15 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-10-09 17:24:15 +0000
commit31694907dde18fc70d7b3e3813e5183d35f0e5db (patch)
tree8a00ba5d8e40180a0c0ac81c26d97506aa8fdde4 /package/targets.mak
parent719337e34b0e3030acab2786c3035bbd3fcceb93 (diff)
downloadexecline-31694907dde18fc70d7b3e3813e5183d35f0e5db.tar.xz
Add --enable-pedantic-posix, posix-cd, prepare for 2.5.3.0
Also make wait posix-compliant and update doc.
Diffstat (limited to 'package/targets.mak')
-rw-r--r--package/targets.mak9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/targets.mak b/package/targets.mak
index c076fa3..824fc26 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -49,3 +49,12 @@ withstdinas
LIBEXEC_TARGETS :=
LIB_DEFS := EXECLINE=execline
+
+ifeq ($(PEDANTIC_POSIX),1)
+
+BIN_TARGETS += posix-cd
+
+$(DESTDIR)$(bindir)/cd: $(DESTDIR)$(bindir)/posix-cd
+ exec ./tools/install.sh -l posix-cd $(DESTDIR)$(bindir)/cd
+
+endif