~ubuntu-branches/ubuntu/hardy/klibc/hardy-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jeff Bailey
  • Date: 2006-01-04 20:24:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060104202452-ec4v3n829rymukuv
Tags: 1.1.15-0ubuntu1
* New upstream version.

* Patch to fix compilation on parisc64 kernels.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
endif
9
9
 
10
10
DEB_MAKE_INVOKE := make
11
 
DEB_MAKE_CLEAN_TARGET := spotless
 
11
DEB_MAKE_CLEAN_TARGET := clean
12
12
DEB_MAKE_BUILD_TARGET := all
13
13
DEB_MAKE_ENVVARS := INSTALLROOT=debian/tmp
 
14
 
 
15
# Enable this to get verbose build information
 
16
DEB_MAKE_ENVVARS += KBUILD_VERBOSE=1
 
17
 
14
18
DEB_MAKE_INVOKE = make -C $(DEB_BUILDDIR) $(DEB_MAKE_ENVVARS) CC=$(CC)
15
19
 
16
 
#DEB_MAKE_INSTALL_TARGET := local-install 
 
20
DEB_MAKE_INSTALL_TARGET := install
17
21
 
18
22
DEB_FIXPERMS_EXCLUDE := klibc-
19
23
 
20
24
pre-build::
21
25
        if [ ! -e linux ]; then \
22
26
                mkdir -p linux/include;\
23
 
                for x in /usr/src/linux-headers-2.6.12-9/include/*; do \
 
27
                for x in /usr/src/linux-headers-2.6.15-11/include/*; do \
24
28
                        ln -s $$x linux/include;\
25
29
                done;\
26
30
        fi
27
31
 
28
32
clean::
29
33
        rm -rf linux
 
34
        find . -name \*.[oga] -exec rm -rf '{}' \;
 
35
        find . -name .\* -exec rm -rf '{}' \;
30
36
 
31
 
common-build-arch::
32
 
        if [ -e ash/sh.shared ]; then mv -f ash/sh.shared ash/sh; fi
 
37
#common-build-arch::
 
38
#       if [ -e ash/sh.shared ]; then mv -f ash/sh.shared ash/sh; fi