Allow build from sub dir

This commit is contained in:
Gerhard Rieger 2022-01-08 21:27:56 +01:00
parent 39a8a26fae
commit d6e5de4f93
2 changed files with 8 additions and 2 deletions

View file

@ -35,6 +35,11 @@ Building:
variable SOURCE_DATE_EPOCH.
Thanks to Viktor Kleinik for sending a patch.
Building Socat in a sub directory failed.
Now the following works even for the docu parts:
mkdir -p myos; cd myos; ../configure && make; cd ..
Thanks to Jon Ringle for sending a patch.
Testing:
test.sh: many corrections for AIX's older shell utilities, e.g.sleep(1)
does not allow fractions of seconds, grep does not understand '\<';

View file

@ -100,10 +100,11 @@ docclean:
rm -f doc/socat.1 doc/socat.html
doc/socat.1: doc/socat.yo
yodl2man -o $@ $+
mkdir -p $(@D); yodl2man -o $@ $+
doc/socat.html: doc/socat.yo
cd doc; yodl2html -o socat.html socat.yo; cd ..
# care for refs in html
mkdir -p $(@D); cd $(@D); yodl2html -o socat.html ../$+; cd ..
progs: $(PROGS)