/[svn]/gigedit/tags/release0_1_1/debian/rules
ViewVC logotype

Contents of /gigedit/tags/release0_1_1/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1565 - (show annotations) (download)
Thu Dec 6 18:56:52 2007 UTC (16 years, 3 months ago) by (unknown author)
File size: 2637 byte(s)
This commit was manufactured by cvs2svn to create tag 'release0_1_1'.
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 export DH_VERBOSE=1
11
12 # These are used for cross-compiling and for saving the configure script
13 # from having to guess our platform (since we know it already)
14 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
15 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
16
17 CFLAGS = -Wall -g
18
19 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
20 CFLAGS += -O0 -g
21 else
22 CFLAGS += -O2 -g
23 endif
24
25 config.status:
26 dh_testdir
27 # Add here commands to configure the package.
28 if [ -e Makefile.cvs ] ; then \
29 $(MAKE) -f Makefile.cvs; \
30 fi
31 chmod a+x configure
32 CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
33
34
35 build: build-stamp
36
37 build-stamp: config.status
38 dh_testdir
39
40 # Add here commands to compile the package.
41 $(MAKE)
42
43 touch build-stamp
44
45 clean:
46 dh_testdir
47 dh_testroot
48 rm -f build-stamp
49
50 # Add here commands to clean up after the build process.
51 if [ -e Makefile.cvs ] ; then \
52 $(MAKE) -f Makefile.cvs; \
53 fi
54 chmod a+x configure
55 -$(MAKE) distclean
56 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
57 cp -f /usr/share/misc/config.sub config.sub
58 endif
59 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
60 cp -f /usr/share/misc/config.guess config.guess
61 endif
62
63
64 dh_clean
65
66 install: build
67 dh_testdir
68 dh_testroot
69 dh_clean -k
70 dh_installdirs
71
72 # Add here commands to install the package into debian/tmp.
73 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
74
75
76 # Build architecture-independent files here.
77 binary-indep: build install
78 # We have nothing to do by default.
79
80 # Build architecture-dependent files here.
81 binary-arch: build install
82 dh_testdir
83 dh_testroot
84 dh_installchangelogs ChangeLog
85 dh_installdocs
86 dh_installexamples
87 dh_install
88 # dh_installmenu
89 # dh_installdebconf
90 # dh_installlogrotate
91 # dh_installemacsen
92 # dh_installpam
93 # dh_installmime
94 # dh_installinit
95 # dh_installcron
96 # dh_installinfo
97 # dh_installman debian/gigedit.1
98 dh_link
99 # dh_strip
100 dh_compress
101 dh_fixperms
102 # dh_perl
103 # dh_python
104 # dh_makeshlibs
105 dh_installdeb
106 dh_shlibdeps
107 dh_gencontrol
108 dh_md5sums
109 dh_builddeb
110
111 binary: binary-indep binary-arch
112 .PHONY: build clean binary-indep binary-arch binary install

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC