tags 352576 patch
stop

A Mennucc <[EMAIL PROTECTED]> wrote:

> the fact that auctex deletes some of the files it ships in .deb 
> is bad for 'debdelta', too

I think the following patch will solve the problem:

--- auctex-11.83.old/debian/rules.in    2006-09-25 13:58:01.000000000 +0200
+++ auctex-11.83/debian/rules.in        2006-09-25 13:57:25.000000000 +0200
@@ -49,9 +49,11 @@
 
 AUCTEXSCRIPTS := configure install-sh
 AUCTEXSRCS := aclocal.m4 configure.ac *.in *.el
+AUCTEXNOTSRCS := auctex.el.in
 STYLES := style/*.el style/.nosearch
 PREVIEWSCRIPTS := preview/configure
 PREVIEWSRCS := preview/configure.ac preview/*.in preview/*.el
+PREVIEWNOTSRCS := preview/auto.el
 <:# Hacks needed by configure. :>//
 MAKEFILEHACKS := doc/Makefile.in preview/latex/Makefile.in
 
@@ -114,9 +116,11 @@
   # cannot be a link to the compressed version in doc/${PACKAGE}:>//
        $(INSTDATA) ChangeLog $(auctex)/<:=${lisp}:>/
        $(INSTDATA) $(AUCTEXSRCS) $(auctex)/<:=${lisp}:>/
+       rm $(AUCTEXNOTSRCS)
        $(INSTDATA) $(STYLES) $(auctex)/<:=${style}:>/
        $(INSTSCRIPT) $(PREVIEWSCRIPTS) $(auctex)/<:=${lisp}:>/preview/
        $(INSTDATA) $(PREVIEWSRCS) $(auctex)/<:=${lisp}:>/preview/
+       rm $(PREVIEWNOTSRCS)
        $(MAKE) prefix=$(auctex)/<:$_=${usr}; s|/+|/|g; print:> install-images
        cd preview && $(MAKE) prefix=$(auctex)/<:$_=${usr};
                s|/+|/|g; print:> install-images

Regards, Frank


-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply via email to