1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/qcad/qcad.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 if [ $prefix_auto = 1 ]; then
18 var_append GCC_WRAPPER_REMOVE ' ' "-pedantic"
21 # build qcad, then change to result directory
22 libsuff=${libdir##*/lib}
23 export QMAKESPEC=$QTDIR/mkspecs/linux-g++${libsuff:+-}${libsuff}
24 cd scripts; sh ./build_qcad.sh notrans; cd ../qcad
29 # copy application files
30 mkdir -p $datadir/qcad
31 for d in examples fonts patterns qm data library machines scripts doc; do
32 [ -d $d ] && cp -rvf $d $datadir/qcad
38 hook_add postmake 5 "qcad_main"