/[GiNaC]/debian/rules
ViewVC logotype

Diff of /debian/rules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by cbauer, Wed Jul 2 16:47:02 2003 UTC revision 1.12 by kreckel, Thu Aug 28 20:34:38 2003 UTC
# Line 17  DEB_BUILD_GNU_TYPE ?= $(shell dpkg-arch Line 17  DEB_BUILD_GNU_TYPE ?= $(shell dpkg-arch
17  ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))  ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
18          export CXXFLAGS = -O0          export CXXFLAGS = -O0
19  else  else
20          export CXXFLAGS = -O2 -fomit-frame-pointer -finline-limit=1200          export CXXFLAGS = -O2 -finline-limit=1200
21  endif  endif
22  ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))  ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
23          INSTALL_PROGRAM += -s          INSTALL_PROGRAM += -s
# Line 26  endif Line 26  endif
26  config.status: configure  config.status: configure
27          dh_testdir          dh_testdir
28          # Add here commands to configure the package.          # Add here commands to configure the package.
29          ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info          # The Makefile is removed on error in order to prevent the build at this early stage.
30            ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info || rm -f Makefile
31    
32  build: build-arch  build: build-arch
33    
34  build-arch: build-arch-stamp  build-arch: build-arch-stamp
35  build-arch-stamp:  config.status  build-arch-stamp:  config.status
36          # Add here commands to compile the arch part of the package.          # Add here commands to compile the arch part of the package.
37          $(MAKE) prefix=$(CURDIR)/debian/tmp/usr infodir=$(CURDIR)/debian/tmp/usr/share/info mandir=$(CURDIR)/debian/tmp/usr/share/man          $(MAKE)
38    
39  clean:  clean:
40          dh_testdir          dh_testdir
# Line 51  install-arch: Line 52  install-arch:
52          # Add here commands to install the arch part of the package into          # Add here commands to install the arch part of the package into
53          # debian/tmp.          # debian/tmp.
54          $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr          $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
55          mkdir -p $(CURDIR)/debian/tmp/usr/X11R6/include/X11/pixmaps          mkdir -p $(CURDIR)/debian/tmp/usr/share/pixmaps
56          cp $(CURDIR)/debian/ginac.xpm $(CURDIR)/debian/tmp/usr/X11R6/include/X11/pixmaps/          cp $(CURDIR)/debian/ginac.xpm $(CURDIR)/debian/tmp/usr/share/pixmaps/
57    
58  # Must not depend on anything. This is to be called by  # Must not depend on anything. This is to be called by
59  # binary-arch/binary-multi  # binary-arch/binary-multi

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15