Installing shell scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
another beginner question...
My tree project contains multiple Python scripts (Python and ksh) in different subdirectories, and I would like the 'make install' process just copy them into the 'bin' directory without any modification (only chmod). In the documentation, I found the following example:


bin_SCRIPTS = magic-script
magic-script : magic-script.in
   sed ... magic-script.in >magic-script
   chmod +x magic-script

But I don't need such a complicated rule!
I just would like to 'chmod +x' all scripts listed in the bin_script variable and copy them into 'in' during the install process. Do I have to create a rule and a '.in' for each script ?


Best regards,
Jul.


-- Julien VIENNE CLIMPACT Institut Pierre-Simon Laplace Université Pierre et Marie Curie 4, place Jussieu Tour 45-46, 5ème ét. Bureau 507 75252 Paris Cedex 5 Tel : 01 44 27 34 31 Email: jv@xxxxxxxxxxxx Web: http://www.climpact.com/




_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux