Package: debhelper
Version: 7.2.13
Severity: normal

If I add the following snippet to my debian/rules:

override_dh_clean:
       dh_clean -Xinstallwatch.c.rej

I start getting a debian/checkinstall.debhelper.log file after running
debian/rules clean. After setting DH_VERBOSE=1 I get the following:

# We have override_dh_clean
fel...@pcfelipe:checkinstall% fakeroot debian/rules clean
dh --with quilt clean                                    
   dh_testdir                                            
   debian/rules override_dh_auto_clean                   
make[1]: Entering directory
`/home/felipe/src/deb/checkinstall/checkinstall'
/usr/bin/make clean                                                         
make[2]: Entering directory
`/home/felipe/src/deb/checkinstall/checkinstall'
for file in locale/checkinstall-*.mo ; do \                                 
                rm -f ${file} ; \                                           
        done                                                                
make -C installwatch-0.7.0beta5 clean                                       
make[3]: Entering directory
`/home/felipe/src/deb/checkinstall/checkinstall/installwatch-0.7.0beta5'        
                                                                                
          
rm -f *~ *.bak *.o installwatch.so core localdecls.h libctest
test-installwatch                    
make[3]: Leaving directory
`/home/felipe/src/deb/checkinstall/checkinstall/installwatch-0.7.0beta5'
make[2]: Leaving directory
`/home/felipe/src/deb/checkinstall/checkinstall'                        
rm -f debian/checkinstall.8                                                     
                   
rm -f debian/installwatch.1                                                     
                   
make[1]: Leaving directory
`/home/felipe/src/deb/checkinstall/checkinstall'                        
   dh_quilt_unpatch                                                             
                   
        quilt --quiltrc /dev/null pop -a || test $? = 2                         
                   
No patch removed                                                                
                   
        rm -rf .pc                                                              
                   
   debian/rules override_dh_clean                                               
                   
make[1]: Entering directory
`/home/felipe/src/deb/checkinstall/checkinstall'                       
dh_clean -Xinstallwatch.c.rej                                                   
                   
        rm -f debian/checkinstall.substvars                                     
                   
        rm -f debian/checkinstall.*.debhelper                                   
                   
        rm -f debian/checkinstall.debhelper.log                                 
                   
        rm -rf debian/checkinstall/                                             
                   
        rm -f debian/files                                                      
                   
        find . ! \( -regex .\*installwatch\\.c\\.rej.\* \) -a \( \(
-type f -a \                   
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name
DEADJOE \                     
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \          
                   
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \          
                   
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \)
\                         
                \) -exec rm -f {} \; \) -o \                                    
                   
                \( -type d -a -name autom4te.cache -prune -exec rm -rf
{} \; \) \)                 
        rm -f *-stamp                                                           
                   
make[1]: Leaving directory
`/home/felipe/src/deb/checkinstall/checkinstall'                        
fel...@pcfelipe:checkinstall% ls debian/checkinstall.debhelper.log 
debian/checkinstall.debhelper.log                                  
fel...@pcfelipe:checkinstall% rm debian/checkinstall.debhelper.log
# Delete the override_dh_clean lines
fel...@pcfelipe:checkinstall% vim debian/rules 
fel...@pcfelipe:checkinstall% fakeroot debian/rules clean         
dh --with quilt clean                                             
   dh_testdir                                                     
   debian/rules override_dh_auto_clean                            
make[1]: Entering directory
`/home/felipe/src/deb/checkinstall/checkinstall'
/usr/bin/make clean                                                         
make[2]: Entering directory
`/home/felipe/src/deb/checkinstall/checkinstall'
for file in locale/checkinstall-*.mo ; do \                                 
                rm -f ${file} ; \                                           
        done                                                                
make -C installwatch-0.7.0beta5 clean                                       
make[3]: Entering directory
`/home/felipe/src/deb/checkinstall/checkinstall/installwatch-0.7.0beta5'        
                                                                                
          
rm -f *~ *.bak *.o installwatch.so core localdecls.h libctest
test-installwatch
make[3]: Leaving directory
`/home/felipe/src/deb/checkinstall/checkinstall/installwatch-0.7.0beta5'
make[2]: Leaving directory
`/home/felipe/src/deb/checkinstall/checkinstall'
rm -f debian/checkinstall.8
rm -f debian/installwatch.1
make[1]: Leaving directory
`/home/felipe/src/deb/checkinstall/checkinstall'
   dh_quilt_unpatch
        quilt --quiltrc /dev/null pop -a || test $? = 2
No patch removed
        rm -rf .pc
   dh_clean
        rm -f debian/checkinstall.substvars
        rm -f debian/checkinstall.*.debhelper
        rm -f debian/checkinstall.debhelper.log
        rm -rf debian/checkinstall/
        rm -f debian/files
        find .  \( \( -type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name
DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \)
\
                \) -exec rm -f {} \; \) -o \
                \( -type d -a -name autom4te.cache -prune -exec rm -rf
{} \; \) \)
        rm -f *-stamp
fel...@pcfelipe:checkinstall% ls debian/checkinstall.debhelper.log
ls: cannot access debian/checkinstall.debhelper.log: No such file or
directory
fel...@pcfelipe:checkinstall%

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils                      2.19.1-1   The GNU assembler, linker and bina
ii  dpkg-dev                      1.14.26    Debian package development tools
ii  file                          5.03-1     Determines file type using "magic"
ii  html2text                     1.3.2a-14  advanced HTML to text converter
ii  man-db                        2.5.5-1    on-line manual pager
ii  perl                          5.10.0-22  Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.16     tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.48       tool that converts source archives

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to