~willismonroe/ubuntu/precise/xdg-utils/typo-fix-996304

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Per Olofsson
  • Date: 2006-08-29 17:35:02 UTC
  • Revision ID: james.westby@ubuntu.com-20060829173502-ffe063dqe8ajg2rm
Tags: upstream-1.0~beta3
ImportĀ upstreamĀ versionĀ 1.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = scripts tests
 
2
 
 
3
all:            $(SUBDIRS)
 
4
install:        $(SUBDIRS:%=%/__install__)
 
5
uninstall:      $(SUBDIRS:%=%/__uninstall__)
 
6
test:           dummy
 
7
        cd tests && $(MAKE) test
 
8
clean:          $(SUBDIRS:%=%/__clean__)
 
9
distclean:      clean $(SUBDIRS:%=%/__distclean__)
 
10
        rm -f config.* Makefile
 
11
        rm -rf autom4te.cache
 
12
 
 
13
release:        $(SUBDIRS:%=%/__release__) distclean
 
14
        rm -f *~
 
15
 
 
16
help:   
 
17
        @echo "Usage: make [install|uninstall|release]"
 
18
 
 
19
.PHONY: all install uninstall clean distclean dummy
 
20
dummy:
 
21
 
 
22
$(SUBDIRS): dummy
 
23
        @cd $@ && $(MAKE)
 
24
 
 
25
$(SUBDIRS:%=%/__uninstall__): dummy
 
26
        cd `dirname $@` && $(MAKE) uninstall
 
27
 
 
28
$(SUBDIRS:%=%/__install__): dummy
 
29
        cd `dirname $@` && $(MAKE) install
 
30
 
 
31
$(SUBDIRS:%=%/__clean__): dummy
 
32
        cd `dirname $@` && $(MAKE) clean
 
33
 
 
34
$(SUBDIRS:%=%/__release__): dummy
 
35
        cd `dirname $@` && $(MAKE) release
 
36
 
 
37
$(SUBDIRS:%=%/__distclean__): dummy
 
38
        cd `dirname $@` && $(MAKE) distclean
 
39