[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with debuild and changelog



Hello,

First posting and
i need a little help from friends;-)

I have a package which is almost "debian ready", the debian dir exist
and necessary files in there.

But there is no changelog, only a changelog.in as a template.

A run of debuild at this moment fails, cause there is no changelog. OK

Then i run autogen.sh which builds a changelog from the above template. Or i
create a new with dch --create foo bar

If then build only the binarys with:
debuild binary
it's all ok.

Not ok is if i wish to build also the source packages.
If i run debuild without parameters (or dpkg-buildpackage -us -uc
-rfakeroot) then the generated changelog is deleted by a process of
dh_clean and debuild bleats about missing changelog (which is deleted by
himself)

I've googled a lot but never found a solution. Neither in devscripts doc
or new maintainer guide.

At the moment i found the reason for this:
After the automake process there is a entry in Makefile.in:
CONFIG_CLEAN_FILES = e_modules.spec debian/changelog
And this entry removes the debian/changelog while doing dist clean in
the debuild run.

It works when i:
autogen.sh
$EDITOR Makefile.in (remove the debian/changelog from CONFIG_CLEAN_FILE)
debuild

But my question: from which template/parameter ist this
CONFIG_CLEAN_FILES created? I edit Makefile.am (MAINTAINERCLEANFILES)
but this doesn't prevent the bad entry in Makefile.in

Anyone who could point me to the right way?

Greetings
	Gerhard
-- 
Don't drink and root!



Reply to: