File: MakeCalctool.sh

package info (click to toggle)
calctool 2.4.9-10
  • links: PTS
  • area: non-free
  • in suites: hamm, slink
  • size: 432 kB
  • ctags: 1,165
  • sloc: ansic: 5,130; makefile: 613; sh: 22
file content (24 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

echo
echo "clean old versions...."
echo
make clean
echo
echo "creating the 'lib'...."
echo
cp Imakefile.lib Imakefile
xmkmf -a
make || exit 1
mv ./libCalctool.a ./lib
echo
echo "the 'lib' is ready!!"
echo
echo "creating now the 'main' calctool...."
echo
cp Imakefile.main Imakefile
xmkmf
make || exit 1
echo
echo "calctool is ready!!"
exit 0