~chromium-team/chromium-browser/focal-stable

« back to all changes in this revision

Viewing changes to debian/cdbs/scons.mk

  • Committer: Fabien Tassin
  • Date: 2008-11-10 22:08:21 UTC
  • Revision ID: fta@ubuntu.com-20081110220821-bbe0gkgpu4kbobr4
* Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- mode: makefile; coding: utf-8 -*-
 
2
# Copyright © 2008, Fabien Tassin <fta@sofaraway.org>
 
3
# Description: A class to build scons packages
 
4
#
 
5
# This program is free software; you can redistribute it and/or
 
6
# modify it under the terms of the GNU General Public License as
 
7
# published by the Free Software Foundation; either version 2, or (at
 
8
# your option) any later version.
 
9
#
 
10
# This program is distributed in the hope that it will be useful, but
 
11
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
# General Public License for more details.
 
14
#
 
15
# You should have received a copy of the GNU General Public License along
 
16
# with this program; if not, write to the Free Software Foundation, Inc.,
 
17
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
18
 
 
19
_cdbs_scripts_path ?= /usr/lib/cdbs
 
20
_cdbs_rules_pat    ?= /usr/share/cdbs/1/rules
 
21
_cdbs_class_path   ?= /usr/share/cdbs/1/class
 
22
 
 
23
ifndef _cdbs_class_scons
 
24
_cdbs_class_scons = 1
 
25
 
 
26
SCONS ?= scons
 
27
 
 
28
common-build-arch common-build-indep:: debian/stamp-scons-build
 
29
common-build-impl::
 
30
        cd $(DEB_BUILDDIR) && $(DEB_SCONS_ENVVARS) $(SCONS) $(DEB_SCONS_ARGS)
 
31
 
 
32
### There's no install rule yet
 
33
#common-install-arch common-install-indep:: common-install-impl
 
34
#common-install-impl::
 
35
#       cd $(DEB_BUILDDIR) && $(DEB_SCONS_ENVVARS) DESTDIR=$(DEB_DESTDIR) $(SCONS) $(DEB_SCONS_INSTALL_ARGS) install
 
36
 
 
37
clean::
 
38
        cd $(DEB_BUILDDIR) && $(DEB_SCONS_ENVVARS) $(SCONS) $(DEB_SCONS_CLEAN_ARGS) --keep-going --clean || true
 
39
 
 
40
endif