Thread: Change build path
hey guys,
google isn't being of here. have configure.ac follows:
this makefile.am looks like:code:ac_init([getrichquick], [0.1], [victorparmar@gmail.com]) ac_prereq([2.59]) am_init_automake([1.10 -wall no-define foreign]) am_maintainer_mode am_config_header(config.h) ac_isc_posix ac_prog_cxx am_prog_cc_stdc ac_header_stdc pkg_check_modules(getrichquick, [gtkmm-2.4 >= 2.8 libglademm-2.4 >= 2.6]) ac_subst(getrichquick_cflags) ac_subst(getrichquick_libs) ac_config_files([makefile]) ac_output
everything working fine, except fact object files , executable placed under build folder instead of project root. possible? if so, have change?code:#gladedir = $(datadir)/glade #glade_data = ui.glade datadir = ./data includes = \ -dpackage_locale_dir=\""$(prefix)/$(datadirname)/locale"\" \ -dpackage_src_dir=\""$(srcdir)"\" \ -dpackage_data_dir=\""$(datadir)"\" \ $(getrichquick_cflags) \ -i/usr/local/include am_cflags =\ -wall\ -g bin_programs = getrichquick getrichquick_sources = \ src/getrichquick.cpp src/mainwindow.h src/mainwindow.cpp getrichquick_ldflags = getrichquick_ldadd = $(getrichquick_libs) extra_dist = $(datadir) ## define independent executable script inclusion in distribution ## archive. not installed on end user's system, however. dist_noinst_scripts = autogen.sh
lot![]()
ok figured out, run configure script under build directory! haha.
cheers!code:make distclean cd build ../configure make
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Change build path
Ubuntu
Comments
Post a Comment