~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-11-19 12:32:11 UTC
  • mfrom: (1.1.25)
  • Revision ID: package-import@ubuntu.com-20071119123211-h8x0kryv8anhjoot
Tags: 1:1.5.3.6-1
* debian/implicit: add proper dependencies to support 'parallel build'
  through make -j (thx Daniel Schepler for the patch).
* debian/rules: support 'nocheck' in DEB_BUILD_OPTIONS to skip running
  the selftests.
* debian/diff/0003-bug-448655-check-etc-mailname-if-author-email-is-un.diff:
  new; check /etc/mailname if author email is unknown (closes: #448655).
* debian/gitweb.docs: new; install gitweb/README.
* new upstream point release.
  * git-cvsimport: really convert underscores in branch names to dots with
    -u (closes: #446495).
  * git-mailsplit: with maildirs not only process cur/, but also new/
    (closes: #447396).
* debian/diff/0004-contrib-hooks-post-receive-email-make-subject-prefix.diff:
  new; cherry-pick'ed from master: contrib/hooks/post-receive-email: make
  subject prefix configurable (closes: #428418).

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
CC =gcc
6
6
CFLAGS =-g -Wall
7
7
STRIP =strip
 
8
TEST =test
8
9
OPTS =NO_OPENSSL=1 GITWEB_CONFIG=/etc/gitweb.conf prefix=/usr \
9
10
  mandir=/usr/share/man INSTALLDIRS=vendor WITH_P4IMPORT=1 \
10
11
  PYTHON_PATH=/usr/bin/python TCLTK_PATH=/usr/bin/wish8.4
22
23
  CFLAGS +=-O2
23
24
endif
24
25
endif
 
26
ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 
27
  TEST =
 
28
endif
 
29
 
25
30
ifeq (powerpc,$(ARCH))
26
31
  OPTS +=PPC_SHA1=1
27
32
else
43
48
build: deb-checkdir build-arch-stamp build-indep-stamp
44
49
build-arch-stamp: patch-stamp
45
50
        -gcc -v
46
 
        DESTDIR='$(GIT)'-core $(MAKE) all test \
 
51
        DESTDIR='$(GIT)'-core $(MAKE) all $(TEST) \
47
52
          CC='$(CC)' CFLAGS='$(CFLAGS)' $(OPTS)
48
53
        $(MAKE) -CDocumentation man ASCIIDOC8=YesPlease
49
54
        touch build-arch-stamp