Skip to content

Commit

Permalink
productizing: Version file included / removed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornig committed Mar 5, 2015
1 parent c551751 commit b673687
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _scripts/makedist
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ if [ "$BUILDID" = "" ]; then
export BUILDID="$VERSION-$BUILDHASH"
fi

echo "inet-$BUILDID" > Version

FILENAME=$INET_ROOT/inet-$BUILDID-src.tgz
DIRNAME=inet

Expand All @@ -39,11 +37,13 @@ mkdir -p $INET_ROOT/out/$DIRNAME

git checkout-index -a -f --prefix=$INET_ROOT/out/$DIRNAME/ || { echo --- error copying repo ---; exit 1;}

echo "inet-$BUILDID" > $INET_ROOT/out/$DIRNAME/Version

# copying documentation
cp -r doc/doxy $INET_ROOT/out/$DIRNAME/doc || { echo --- error copying generated docs ---; exit 1;}
cp -r doc/neddoc $INET_ROOT/out/$DIRNAME/doc || { echo --- error copying generated docs ---; exit 1;}
cp -r doc/index.html $INET_ROOT/out/$DIRNAME/doc || { echo --- error copying generated docs ---; exit 1;}
cp -r doc/inet-manual*.pdf $INET_ROOT/out/$DIRNAME/doc || { echo --- error copying generated docs ---; exit 1;}
#cp -r doc/doxy $INET_ROOT/out/$DIRNAME/doc || { echo --- error copying generated docs ---; exit 1;}
#cp -r doc/neddoc $INET_ROOT/out/$DIRNAME/doc || { echo --- error copying generated docs ---; exit 1;}
#cp -r doc/index.html $INET_ROOT/out/$DIRNAME/doc || { echo --- error copying generated docs ---; exit 1;}
#cp -r doc/inet-manual*.pdf $INET_ROOT/out/$DIRNAME/doc || { echo --- error copying generated docs ---; exit 1;}

# switch to the destination dir
cd $INET_ROOT/out/$DIRNAME
Expand Down

0 comments on commit b673687

Please sign in to comment.