Create doc and licence directories only if installdoc=true

git-svn-id: svn://ultimatepp.org/upp/trunk@10836 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
amrein 2017-02-10 10:06:18 +00:00
parent 344f2b333f
commit 87f1b7acd9

View file

@ -277,8 +277,8 @@ log_debug_info "Cleaning source code"
#<end> TODO
log_debug_info "Copying" *.bm *.scd
cp -p *.bm "$DESTDIR/$prefix/.upp/theide"
cp -p *.scd "$DESTDIR/$prefix/.upp/theide"
cp -p *.bm "$DESTDIR/$prefix/.upp/theide"
cp -p *.scd "$DESTDIR/$prefix/.upp/theide"
if [ "$installdoc" = "true" ]
then
@ -323,9 +323,12 @@ log_debug_info "Creating directories"
install -d "$DESTDIR/$datadir/applications"
install -d "$DESTDIR/$datadir/icons/hicolor/48x48/apps"
install -d "$DESTDIR/$datadir/pixmaps"
install -d "$DESTDIR/$datadir/licenses/$package_name"
install -d "$DESTDIR/$docdir/$package_name"
install -d "$DESTDIR/$mandir/man1"
if [ "$installdoc" = "true" ]
then
install -d "$DESTDIR/$datadir/licenses/$package_name"
install -d "$DESTDIR/$docdir/$package_name"
fi
log_debug_info "Copying theide and umk"
install ./theide "$DESTDIR/$bindir/theide"