/[ascend]/trunk/debian/rules
ViewVC logotype

Diff of /trunk/debian/rules

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

revision 1420 by jpye, Wed Apr 25 04:30:36 2007 UTC revision 1421 by jpye, Wed Apr 25 13:25:37 2007 UTC
# Line 1  Line 1 
1  #!/usr/bin/make -f  #!/usr/bin/make -f
2  # -*- makefile -*-  # -*- makefile -*-
 # Sample debian/rules that uses debhelper.  
 # This file was originally written by Joey Hess and Craig Small.  
 # As a special exception, when this file is copied by dh-make into a  
 # dh-make output file, you may use that output file without restriction.  
 # This special exception was added by Craig Small in version 0.37 of dh-make.  
 #  
 # File sourced from http://iua-share.upf.edu/svn/clam/trunk/CLAM/debian/rules  
 # by John Pye on 21 Apr 2007  
   
 # Uncomment this to turn on verbose mode.  
 #export DH_VERBOSE=1  
3    
4  CFLAGS = -Wall -g  CFLAGS = -Wall -g
5  SCONS_OPTIONS = CC="ccache gcc" CXX="ccache g++" INSTALL_PREFIX=/usr -j2  SCONS_OPTIONS = CC="ccache gcc" CXX="ccache g++" INSTALL_PREFIX=/usr -j2
# Line 27  ifeq (,$(findstring nostrip,$(DEB_BUILD_ Line 16  ifeq (,$(findstring nostrip,$(DEB_BUILD_
16  endif  endif
17    
18  # shared library versions, option 1  # shared library versions, option 1
 version=0.95.109  
19  major=0  major=0
20    
21    INSTALLROOT=$(CURDIR)/debian/tmp
22    DATADIR=$(INSTALLROOT)/usr/share
23    
24  build: build-stamp  build: build-stamp
25  build-stamp:  build-stamp:
26      dh_testdir      dh_testdir
# Line 57  install: build Line 48  install: build
48  #   dh_testroot  #   dh_testroot
49      dh_clean -k      dh_clean -k
50      dh_installdirs      dh_installdirs
51      mkdir -p $(CURDIR)/debian/tmp/usr      mkdir -p $(INSTALLROOT)/usr
52      cd $(CURDIR) && $(SCONS) INSTALL_ROOT=$(CURDIR)/debian/tmp install      cd $(CURDIR) && $(SCONS) INSTALL_ROOT=$(INSTALLROOT) install
53    #
54        cd $(CURDIR)/pygtk/gnome &&
55        install -m 644 -D ascend.desktop $(INSTALLROOT)$(DATADIR)/applications/ascend.desktop &&
56        install -m 644 -D ascend.png $(INSTALLROOT)$(DATADIR)/icons/ascend-app.png &&
57        install -m 644 -D ascend.png $(INSTALLROOT)$(DATADIR)/icons/hicolor/64x64/ascend.png &&
58        install -m 644 -D ascend.xml $(CURDIR)/debian/ascend.mime
59    #
60      dh_install --autodest      dh_install --autodest
61        dh_desktop
62        dh_installmime
63      dh_installman debian/ascend.man      dh_installman debian/ascend.man
64      dh_installman debian/ascend4.man      dh_installman debian/ascend4.man
65      dh_installman debian/ascend-config.man      dh_installman debian/ascend-config.man

Legend:
Removed from v.1420  
changed lines
  Added in v.1421

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22