Comment 9 for bug 188218

Revision history for this message
Alexander Sack (asac) wrote :

when building i get this:
E: git-core: file-in-etc-not-marked-as-conffile /etc/emacs/site-start.d/50git-core.el

i think the right way to do this is to use dh_installemacsen. Since that debian maintainer doesnt want to use debhelper we would need to mimic its behaviour. consider to look at /usr/bin/dh_installemacsen to see what it does. From what i can see its a combination of installing thef iles in /usr/share and adding some postinst/prerm snippets.

e.g. this is what i see in /var/lib/dpkg/info/quilt-el.postinst

if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]
then
        /usr/lib/emacsen-common/emacs-package-install quilt-el
fi

Please adjust your patch accordingly.