~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/megaco/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
include vsn.mk
46
46
VSN=$(MEGACO_VSN)
47
47
 
48
 
DIR_NAME = megaco-$(VSN)
 
48
DIR_NAME = megaco_src-$(VSN)$(PRE_VSN)
49
49
 
50
50
ifndef APP_RELEASE_DIR
51
51
  APP_RELEASE_DIR = /tmp
129
129
        echo "megaco/TAR.exclude2" >> TAR.exclude2; \
130
130
        echo "megaco/priv/lib/$(TARGET)" >> TAR.exclude2; \
131
131
        echo "megaco/src/flex/$(TARGET)" >> TAR.exclude2
 
132
        (cd ..; find megaco -name '*_v3.*' >> megaco/TAR.exclude2)
 
133
        (cd ..; find megaco -name '*-v3.*' >> megaco/TAR.exclude2)
132
134
        (cd ..; find megaco -name 'findmerge.*' >> megaco/TAR.exclude2)
133
135
        (cd ..; find megaco -name '*.contrib*' >> megaco/TAR.exclude2)
134
136
        (cd ..; find megaco -name '*.keep*' >> megaco/TAR.exclude2)
 
137
        (cd ..; find megaco -name '*.mkelem*' >> megaco/TAR.exclude2)
135
138
        (cd ..; find megaco -name '*~' >> megaco/TAR.exclude2)
136
139
        (cd ..; find megaco -name 'erl_crash.dump' >> megaco/TAR.exclude2)
137
140
        (cd ..; find megaco/test -name '*.beam' >> megaco/TAR.exclude2)
139
142
        (cd ..; find megaco/examples/meas -name '*.xls' >> megaco/TAR.exclude2)
140
143
        (cd ..; find megaco -name 'core' >> megaco/TAR.exclude2)
141
144
        (cd ..; find megaco -name '.cmake.state' >> megaco/TAR.exclude2)
142
 
        mkdir $(APP_DIR); \
 
145
        mkdir -p $(APP_DIR); \
143
146
        (cd ..; tar cfX - megaco/TAR.exclude2 megaco) | \
144
147
        (cd $(APP_DIR); tar xf -); \
145
148
        mv $(APP_DIR)/megaco/* $(APP_DIR)/; \