~scarneiro/ubuntu/raring/adns/fix-for-ignored-make-clean-errors

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Sebastian Carneiro
  • Date: 2012-11-28 02:33:39 UTC
  • Revision ID: scarneiro@fibertel.com.ar-20121128023339-tij5ak4xs5r2yz96
* Fix for lintian warning, by which debian/rules ignores 
  make clean / distclean: 
  - debian/rules: stops ignoring make clean / distclean errors, 
    and executes target if Makefile exists.
  - Makefile, Makefile.in: only executes distclean on current directory, 
    as subdirs don't have that target. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
SUBDIRS= src $(SUBDIRS_DYNAMIC) client regress
38
38
 
39
 
all install uninstall clean distclean mostlyclean maintainer-clean distprep:
40
 
        set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
 
39
clean distclean mostlyclean maintainer-clean:
 
40
        $(MAKE) $@-here
 
41
        
 
42
all install uninstall distprep:
 
43
        set -e; for d in $(SUBDIRS); $(MAKE) -C $$d $@; done
41
44
        $(MAKE) $@-here
42
45
 
43
46
all-here install-here uninstall-here distprep-here:     README