Hello,
I have a .pro file and in it i declare some DISTFILES. some of these files are from the current directory and some are from another directory (../bin/)
DISTFILES += \
a_status.sh \
a_tracks.sh \
a_monitor.sh \
../bin/AApp \
../bin/LApp.xml
DISTFILES += \
a_status.sh \
a_tracks.sh \
a_monitor.sh \
../bin/AApp \
../bin/LApp.xml
To copy to clipboard, switch view to plain text mode
[/CODE]
when i do a qmake I can see them all in the Makefile:
DIST = a_status.sh \
a_tracks.sh \
a_monitor.sh \
../bin/AApp \
../bin/LApp.xml \
DIST = a_status.sh \
a_tracks.sh \
a_monitor.sh \
../bin/AApp \
../bin/LApp.xml \
To copy to clipboard, switch view to plain text mode
Then i do a make dist and when i look in the tar.gz file all files are there except for the 2 files from the ../bin directory which are not there. If i put the 2 files in the same directory as the scripts it works fine (but i don't want to do this) so when I do a rpmbuild -ta xxxNumber.tar.gz, this then of course fails as there is no ../bin/* files.
How do i get it to include files from other directories other than the directory the .pro file lives in?
Thank you.
Bookmarks