Skip to content

Commit 1f9f466

Browse files
committed
Add no-documentation option for distribution builds
1 parent 81d11d5 commit 1f9f466

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

unix/Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@ all: standard
22

33
core:
44
$(MAKE) -C ../core/unix all
5-
$(MAKE) -C ../docs all
65
cd ../foreign_sdk/unix ; ./build.sh
76

7+
doc:
8+
$(MAKE) -C ../docs all
9+
810
odbc:
911
cd ../extensions/odbc/i386_mswin32 ; ./build.bat
1012

11-
standard: core
13+
standard: core doc
14+
./build_dist.sh standard
15+
16+
standard-nodoc: core
1217
./build_dist.sh standard
1318

1419
# If you want to just capture test output to a file, execute:

unix/build_dist.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ done
6666
cp -p "$MAN/welcome_standard.txt" "$DISTDIR/README.txt"
6767
cp -p $MAN/$MANUAL "$DISTDIR/$MANUALNAME"
6868
cp -p $MAN/$REFMANUAL "$DISTDIR/$REFMANUALNAME"
69-
cp -pr $DOCS "$DISTDIR/docs"
69+
if test -d "$DOCS"
70+
then
71+
cp -pr $DOCS "$DISTDIR/docs"
72+
fi
7073
cp -p "$ALS_PROLOG/core/alsp_src/doc/alspro.1" "$DISTDIR/alspro.1"
7174

7275

0 commit comments

Comments
 (0)