How to use kdevelop3 to make a source package?
Containing configure script and Makefile.am.
I used the "release the project" in the "tools" menu, but it said: no rule to create the target "dist". I remember that I can easily create the source package in Kdevelop2. |
configure is kind of complex with kde so i describe the only way i know how to do it
don't know an easier way (sorry) The KDE scripts are placed in a directory admin in the top directory of your project. They can be obtained via anonymous cvs: (you might know a better server) export CVSROOT=:pserver:anonymous@anoncvs.kde.org:/home/kde cvs login cvs co kde-common/admin mv kde-common/admin . rm -r kde-common cp ./admin/configure.in.min ../ for a begining cat > ./configure.in.in << "EOF" #MIN_CONFIG EOF now you need two different types of Makefile.am files one for the top level and one for each subdir (look at other packages) top one you can leave out the first line if you automake --add-missing otherwise leave it in Code:
AUTOMAKE_OPTIONS = foreign 1.5 read this now make -f admin/Makefile.common cvs ./configure make to distribute make distclean cd .. tar czf project.tgz projectdir |
Oh, Thanks.
But I didn't select CVS support when I creat the project (I don't know any thing about CVS). And I can't find the directory of "admin" ( It can be found in my kdevelop2 project but not in kdevelop3 project). I can creat configure script using autoscan, but I don't know how to generate Makefile.am. Thanks for your help. |
if you have cvs istalled those command i gave will get you an admin folder
or i imagine you can just copy one from any current kde source package |
All times are GMT -5. The time now is 06:43 PM. |