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
when building i get this: etc-not- marked- as-conffile /etc/emacs/ site-start. d/50git- core.el
E: git-core: file-in-
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_installemacs en 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 ]
/usr/lib/ emacsen- common/ emacs-package- install quilt-el
then
fi
Please adjust your patch accordingly.