/[pkg-games]/packages/trunk/pegsolitaire/debian/rules
ViewVC logotype

Contents of /packages/trunk/pegsolitaire/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9651 - (show annotations) (download)
Mon Apr 27 02:48:16 2009 UTC (4 years ago) by pabs
File size: 2185 byte(s)
Drop use of dh_desktop since it no longer does anything and desktop-file-utils 0.15-2 has a trigger (see #525133)
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 # These are used for cross-compiling and for saving the configure script
8 # from having to guess our platform (since we know it already)
9 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
10 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
11
12
13 config.status: configure
14 dh_testdir
15 # Add here commands to configure the package.
16 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
17 cp -f /usr/share/misc/config.sub config.sub
18 endif
19 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
20 cp -f /usr/share/misc/config.guess config.guess
21 endif
22 ./configure --host=$(DEB_HOST_GNU_TYPE) \
23 --build=$(DEB_BUILD_GNU_TYPE) \
24 --prefix=/usr \
25 --bindir=\$${prefix}/games \
26 --datadir=\$${prefix}/share/games \
27 --mandir=\$${prefix}/share/man \
28 --infodir=\$${prefix}/share/info \
29 CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
30
31
32 build: build-stamp
33
34 build-stamp: config.status
35 dh_testdir
36
37 # Add here commands to compile the package.
38 $(MAKE)
39
40 touch $@
41
42 clean:
43 dh_testdir
44 dh_testroot
45 rm -f build-stamp
46
47 # Add here commands to clean up after the build process.
48 [ ! -f Makefile ] || $(MAKE) distclean
49 rm -f config.sub config.guess
50 rm -f intltool-extract intltool-merge intltool-update
51
52 dh_clean
53
54 install: build
55 dh_testdir
56 dh_testroot
57 dh_clean -k
58 dh_installdirs
59
60 # Add here commands to install the package into debian/pegsolitaire.
61 $(MAKE) DESTDIR=$(CURDIR)/debian/pegsolitaire install
62
63 # Remove extra license file.
64 rm -f $(CURDIR)/debian/pegsolitaire/usr/share/games/doc/pegsolitaire/COPYING
65
66 # Build architecture-independent files here.
67 binary-indep: build install
68 # We have nothing to do by default.
69
70 # Build architecture-dependent files here.
71 binary-arch: build install
72 dh_testdir
73 dh_testroot
74 dh_installchangelogs ChangeLog
75 dh_installdocs
76 dh_installexamples
77 dh_install
78 dh_installmenu
79 dh_installman debian/pegsolitaire.6
80 dh_link
81 dh_strip
82 dh_compress
83 dh_fixperms
84 dh_installdeb
85 dh_shlibdeps
86 dh_gencontrol
87 dh_md5sums
88 dh_builddeb
89
90 binary: binary-indep binary-arch
91 .PHONY: build clean binary-indep binary-arch binary install

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5