Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: tools/linux_dist_support/debian/rules

Issue 159003002: Add script to build Debian packages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed additional review comments Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/create_debian_packages.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/make -f 1 #!/usr/bin/make -f
2 export DH_VERBOSE = 1 2 export DH_VERBOSE = 1
3 3
4 # Use DEB_BUILD_OPTIONS's parallel=n option (see Policy 4.9.1) 4 # Use DEB_BUILD_OPTIONS's parallel=n option (see Policy 4.9.1)
5 ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS))) 5 ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS)))
6 PARALLEL_JOBS := $(shell echo $(DEB_BUILD_OPTIONS) | \ 6 PARALLEL_JOBS := $(shell echo $(DEB_BUILD_OPTIONS) | \
7 sed -e 's/.*parallel=\([0-9]\+\).*/\1/') 7 sed -e 's/.*parallel=\([0-9]\+\).*/\1/')
8 else 8 else
9 PARALLEL_JOBS := 1 9 PARALLEL_JOBS := 1
10 endif 10 endif
(...skipping 25 matching lines...) Expand all
36 find . -name *.mk -execdir rm -f {} \; 36 find . -name *.mk -execdir rm -f {} \;
37 find . -name *.Makefile -execdir rm -f {} \; 37 find . -name *.Makefile -execdir rm -f {} \;
38 38
39 override_dh_auto_configure: 39 override_dh_auto_configure:
40 GYP_GENERATORS=make python dart/tools/gyp_dart.py all 40 GYP_GENERATORS=make python dart/tools/gyp_dart.py all
41 41
42 override_dh_auto_build: 42 override_dh_auto_build:
43 make -C dart -j$(PARALLEL_JOBS) \ 43 make -C dart -j$(PARALLEL_JOBS) \
44 BUILDTYPE=$(BUILD_TYPE) $(BUILD_ARGS) create_sdk 44 BUILDTYPE=$(BUILD_TYPE) $(BUILD_ARGS) create_sdk
45 45
46 # Building the Dart SDK will already strip all binaries.
47 override_dh_strip:
48
46 override_dh_auto_install: 49 override_dh_auto_install:
47 mkdir -p debian/tmp/out 50 mkdir -p debian/tmp/out
48 cp -R dart/out/$(BUILD_TYPE)/dart-sdk debian/tmp/out 51 cp -R dart/out/$(BUILD_TYPE)/dart-sdk debian/tmp/out
49 mv debian/tmp/out/dart-sdk debian/tmp/out/dart 52 mv debian/tmp/out/dart-sdk debian/tmp/out/dart
50 dh_install 53 dh_install
51 dh_link 54 dh_link
OLDNEW
« no previous file with comments | « tools/create_debian_packages.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698