~ubuntu-branches/ubuntu/natty/devscripts/natty-updates

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-11-24 15:54:50 UTC
  • mfrom: (10.7.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101124155450-05d2rz160qod25or
Tags: 2.10.69ubuntu1
* Merge with Debian; remaining changes:
  - see 2.10.68ubuntu1.
  - Default to "natty" as distribution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
PERL_MODULES = Devscripts
8
8
EXAMPLES = conf.default
9
9
 
10
 
all: version scripts $(EXAMPLES) translated_manpages
 
10
all: version make_scripts $(EXAMPLES) translated_manpages
11
11
 
12
12
version:
13
13
        rm -f version
29
29
        rm -f translated_manpages
30
30
 
31
31
clean: clean_scripts clean_translated_manpages
32
 
        rm -f version conf.default
 
32
        rm -f version conf.default make_scripts
33
33
 
34
34
install: all install_scripts
35
35
        cp -a $(PERL_MODULES) $(DESTDIR)$(PERLMOD_DIR)
36
36
        cp $(EXAMPLES) $(DESTDIR)$(EXAMPLES_DIR)
37
37
 
38
 
scripts:
 
38
make_scripts:
39
39
        $(MAKE) -C scripts/
40
 
clean_scripts:
 
40
        touch $@
 
41
clean_scripts: clean_translated_manpages
41
42
        $(MAKE) -C scripts/ clean
42
43
install_scripts:
43
44
        $(MAKE) -C scripts/ install DESTDIR=$(DESTDIR)