I'm trying this example:
executable.files = src/script.sh
executable.path = /usr/bin/
INSTALLS = executable
executable.files = src/script.sh
executable.path = /usr/bin/
INSTALLS = executable
To copy to clipboard, switch view to plain text mode
But if I do a make...
nitz@nodo001:~/projects/simple-environment/simple-environment$ qmake
nitz@nodo001:~/projects/simple-environment/simple-environment$ make
g++ -o simple-environment -L/usr/lib -lQtGui -lQtCore -lpthread
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [simple-environment] Error 1
nitz@nodo001:~/projects/simple-environment/simple-environment$
nitz@nodo001:~/projects/simple-environment/simple-environment$ qmake
nitz@nodo001:~/projects/simple-environment/simple-environment$ make
g++ -o simple-environment -L/usr/lib -lQtGui -lQtCore -lpthread
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [simple-environment] Error 1
nitz@nodo001:~/projects/simple-environment/simple-environment$
To copy to clipboard, switch view to plain text mode
How can I avoid the compilation and only copy the script?
EDIT: I have renamed the files as the first post
Bookmarks