~ubuntu-branches/ubuntu/raring/uml-utilities/raring

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2002-04-25 22:22:36 UTC
  • Revision ID: james.westby@ubuntu.com-20020425222236-c77x5ypvsn9cbxi8
Tags: upstream-20020415
ImportĀ upstreamĀ versionĀ 20020415

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = jailtest mconsole moo port-helper tunctl uml_net uml_router 
 
2
UMLVER = $(shell date +%Y%m%d)
 
3
TARBALL = uml_utilities_$(UMLVER).tar
 
4
BIN_DIR = /usr/bin
 
5
LIB_DIR = /usr/lib/uml
 
6
 
 
7
export BIN_DIR LIB_DIR
 
8
 
 
9
all install: 
 
10
        set -e ; for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
 
11
 
 
12
tarball : clean spec
 
13
        cd .. ; tar cf $(TARBALL) tools ; bzip2 -f $(TARBALL)
 
14
 
 
15
clean:
 
16
        rm -rf *~
 
17
        rm -f uml_util.spec
 
18
        set -e ; for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
 
19
 
 
20
spec:   
 
21
        sed -e 's/__UMLVER__/$(UMLVER)/' < uml_util.spec.in > uml_util.spec