Changeset 713

Show
Ignore:
Timestamp:
11/15/09 09:03:47 (3 months ago)
Author:
PavelVinogradov
Message:

Fix clean target without generated makefile

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/debian/rules

    r655 r713  
    6161        dh_testdir 
    6262        dh_testroot 
    63         rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# 
     63        #rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# 
    6464 
    6565        # Add here commands to clean up after the build process. 
    66         $(MAKE) distclean 
    67 ifneq "$(wildcard /usr/share/misc/config.sub)" "" 
    68         cp -f /usr/share/misc/config.sub config.sub 
    69 endif 
    70 ifneq "$(wildcard /usr/share/misc/config.guess)" "" 
    71         cp -f /usr/share/misc/config.guess config.guess 
    72 endif 
    73         dh_clean  
     66        [ ! -f Makefile ] || $(MAKE) distclean 
     67        dh_clean build-stamp 
    7468 
    7569install: install-indep install-arch