Last change
on this file since 2613 was 1083, checked in by Bruno Cornec, 14 years ago |
- Other fixes for lintian in project-builder
|
-
Property svn:executable
set to
*
|
File size:
1.8 KB
|
Line | |
---|
1 | #!/usr/bin/make -f
|
---|
2 | # -*- makefile -*-
|
---|
3 | # Sample debian/rules that uses debhelper.
|
---|
4 | # GNU copyright 1997 to 1999 by Joey Hess.
|
---|
5 | #
|
---|
6 | # $Id$
|
---|
7 | #
|
---|
8 |
|
---|
9 | # Uncomment this to turn on verbose mode.
|
---|
10 | #export DH_VERBOSE=1
|
---|
11 |
|
---|
12 | # If set to a true value then MakeMaker's prompt function will
|
---|
13 | # always return the default without waiting for user input.
|
---|
14 | export PERL_MM_USE_DEFAULT=1
|
---|
15 |
|
---|
16 | ifndef PERL
|
---|
17 | PERL = /usr/bin/perl
|
---|
18 | endif
|
---|
19 |
|
---|
20 | # Define package name variable for a one-stop change.
|
---|
21 | PACKAGE_NAME = PBPKG
|
---|
22 |
|
---|
23 | build: build-stamp
|
---|
24 |
|
---|
25 | build-stamp:
|
---|
26 | dh_testdir
|
---|
27 |
|
---|
28 | # Add here commands to compile the package.
|
---|
29 | $(PERL) Makefile.PL INSTALLDIRS=vendor PBKEYWORD=$(CURDIR)/PBFINALDIR MANDIR=/usr/share/man
|
---|
30 | $(MAKE)
|
---|
31 | touch $@
|
---|
32 |
|
---|
33 | clean:
|
---|
34 | dh_testdir
|
---|
35 | dh_testroot
|
---|
36 | rm -f build-stamp
|
---|
37 |
|
---|
38 | # Add here commands to clean up after the build process.
|
---|
39 | -$(MAKE) distclean
|
---|
40 |
|
---|
41 | dh_clean
|
---|
42 |
|
---|
43 | install: build
|
---|
44 | dh_testdir
|
---|
45 | dh_testroot
|
---|
46 | dh_clean -k
|
---|
47 | dh_installdirs
|
---|
48 |
|
---|
49 | # Add here commands to install the package into debian/linuxcoe-sd
|
---|
50 | $(MAKE) install DESTDIR=$(CURDIR)/debian/PBPKG
|
---|
51 |
|
---|
52 | # Build architecture-dependent files here.
|
---|
53 | binary-arch: build install
|
---|
54 | # We have nothing to do by default.
|
---|
55 | #
|
---|
56 | # Build architecture-independent files here.
|
---|
57 | binary-indep: build install
|
---|
58 | dh_testdir
|
---|
59 | dh_testroot
|
---|
60 | dh_installchangelogs ChangeLog
|
---|
61 | dh_installdocs
|
---|
62 | # dh_installexamples
|
---|
63 | # dh_install
|
---|
64 | # dh_installmenu
|
---|
65 | # dh_installdebconf
|
---|
66 | # dh_installlogrotate
|
---|
67 | # dh_installemacsen
|
---|
68 | # dh_installpam
|
---|
69 | # dh_installmime
|
---|
70 | # dh_python
|
---|
71 | # dh_installinit
|
---|
72 | # dh_installcron
|
---|
73 | # dh_installinfo
|
---|
74 | dh_installman
|
---|
75 | dh_perl
|
---|
76 | dh_strip
|
---|
77 | dh_compress
|
---|
78 | dh_fixperms
|
---|
79 | # dh_makeshlibs
|
---|
80 | dh_installdeb
|
---|
81 | # dh_shlibdeps
|
---|
82 | dh_gencontrol
|
---|
83 | dh_md5sums
|
---|
84 | dh_builddeb
|
---|
85 |
|
---|
86 | binary: binary-indep binary-arch
|
---|
87 | .PHONY: build clean binary-indep binary-arch binary install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.