Просмотр исходного кода

added option for adding --copy if autogen is run with it

Ben Collins лет назад: 27
Родитель
Сommit
55cf13ba80
1 измененных файлов с 6 добавлено и 4 удалено
  1. 6 4
      autogen.sh

+ 6 - 4
autogen.sh

@@ -1,18 +1,20 @@
 #! /bin/sh
 #! /bin/sh
 
 
+copy=$1
+
 # Start by setting up everything for main tree
 # Start by setting up everything for main tree
 aclocal -I ./automake
 aclocal -I ./automake
 autoheader
 autoheader
-gettextize
-libtoolize --force
-automake --add-missing --foreign
+gettextize $copy
+libtoolize --force $copy
+automake --add-missing --foreign $copy
 autoconf
 autoconf
 
 
 # Utils has it's own configure, so we need to repeat this there
 # Utils has it's own configure, so we need to repeat this there
 cd utils
 cd utils
 aclocal -I ../automake
 aclocal -I ../automake
 autoheader
 autoheader
-automake --foreign
+automake --foreign $copy
 autoconf
 autoconf
 
 
 # Return to the previous directory
 # Return to the previous directory