Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: halma on July 27, 2014, 05:30:54 AM

Title: build extension wiki Abbreviated steps scripted allready ?
Post by: halma on July 27, 2014, 05:30:54 AM
Hi

i am trying to build a TC conform Extension, on the TC wiki (http://wiki.tinycorelinux.net/wiki:creating_extensions ) under the ---> Abbreviated steps
point 2 & 3 ... is this allready scripted for automating the building process ?

If not has anyone a good script how to exclude/remove all kind of documentation files/folders and also not needed (empty) directories  cause if i run my script to remove the ( *.a *.h *.la *.m4 *.pc -> dev extension (after --strip-debug) ) files then i have an empty (include) folder

Code: [Select]
#!/bin/sh

ending="*.a *.h *.la *.m4 *.pc"

for i in $ending; do
    find /tmp/lm-sensors -iname $i -exec rm {} \;
done

and to point 3 ... how do i know that an licence needs to be included ?

thanks
Halma
Title: Re: build extension wiki Abbreviated steps scripted allready ?
Post by: bmarkus on July 27, 2014, 05:39:26 AM

and to point 3 ... how do i know that an licence needs to be included ?


Read it.
Title: Re: build extension wiki Abbreviated steps scripted allready ?
Post by: halma on July 27, 2014, 05:42:02 AM
what to read ? the README from the source Package ?
Title: Re: build extension wiki Abbreviated steps scripted allready ?
Post by: bmarkus on July 27, 2014, 06:12:41 AM
what to read ? the README from the source Package ?


Files related to licensing lige COPYING, LICENCE or in few case README or other. Their WEB page may help too.