You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, January 17th 2007, 11:52pm

autoconf, kconfig, settings.h

What is the secret ingrediant + recipe to get autoconf/automake to insert this into my generated makefiles:

settings.cpp: settings.h
settings.h: $(srcdir)/kpdf.kcfg $(srcdir)/settings.kcfgc $(KCFG_DEPENDENCIES)
$(KCONFIG_COMPILER) $(srcdir)/kpdf.kcfg $(srcdir)/settings.kcfgc; ret=$$?; \
if test "$$ret" != 0; then rm -f settings.h ; exit $$ret ; fi

???

Thanks in advance,

-bryan

p.s. does anyone else think that aclocal+autoconf+automake+autoheader+makefile.am+configure.in+[who the !#@$ knows what else is needed] is way more complicated that just one or two huge cryptic scripts + Makefile?