Click to See Complete Forum and Search --> : Makefile question


cybertron
12-15-2003, 04:52 PM
I wrote a program in QT and I'm using KDevelop to automatically create the autoconf/make files for it because I don't know much of anything about them. The problem is, I have three files that I need to get copied to a new hidden directory in the user's home directory, and I have no idea how to do it. Right now I just wrote a simple shell script that creates the directory and copies the files over, but I would prefer to be able to do it in the make install. So I'm wondering if there is any way to either run my shell script during make install or set it up so it does it without the script (either in KDevelop or manually editing the Makefile). I've tried using an install-data-local rule in Makefile.in, but since I don't know anything about writing makefiles, I only managed to make it completely non-functional. Any help would be appreciated. TIA.

-Ben