MatN work for versatile appimage creation for all types of os
[goodguy/cinelerra.git] / cinelerra-5.1 / tools / makeappimagetool / autogen.sh
1 #! /bin/bash
2
3 # Call this as "./autogen.sh clean" to prepare for
4 # distribution. 
5 # start from scratch
6
7 if [ -s Makefile ];
8 then
9     make clean 
10 fi
11
12 rm -f global_config configure Makefile Makefile.in
13 rm -f aclocal.m4 ltmain.sh stamp-h1
14 rm -f config.{log,guess,h,h.in,sub,status}
15 rm -rf autom4te.cache cfg .deps 
16
17 if [ "$1" = "clean" ]; then exit 0; fi
18
19 #autoupdate
20 mkdir cfg
21 autoreconf --install
22
23 # After this, run ./configure, then make as
24 # "make -j$(nproc)" (on linux)
25