source: ProjectBuilder/pbconf/devel/project-builder/deb/rules@ 1083

Last change on this file since 1083 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
RevLine 
[238]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
[1083]12# If set to a true value then MakeMaker's prompt function will
13# always return the default without waiting for user input.
14export PERL_MM_USE_DEFAULT=1
15
16ifndef PERL
17PERL = /usr/bin/perl
18endif
19
[238]20# Define package name variable for a one-stop change.
21PACKAGE_NAME = PBPKG
22
23build: build-stamp
24
[244]25build-stamp:
[239]26 dh_testdir
[238]27
[239]28 # Add here commands to compile the package.
[1083]29 $(PERL) Makefile.PL INSTALLDIRS=vendor PBKEYWORD=$(CURDIR)/PBFINALDIR MANDIR=/usr/share/man
[244]30 $(MAKE)
[238]31 touch $@
32
33clean:
[239]34 dh_testdir
[238]35 dh_testroot
36 rm -f build-stamp
37
[239]38 # Add here commands to clean up after the build process.
39 -$(MAKE) distclean
[238]40
[239]41 dh_clean
[238]42
43install: build
[239]44 dh_testdir
45 dh_testroot
46 dh_clean -k
47 dh_installdirs
[238]48
[239]49 # Add here commands to install the package into debian/linuxcoe-sd
50 $(MAKE) install DESTDIR=$(CURDIR)/debian/PBPKG
[238]51
[1083]52# Build architecture-dependent files here.
53binary-arch: build install
54 # We have nothing to do by default.
55 #
[238]56# Build architecture-independent files here.
57binary-indep: build install
[239]58 dh_testdir
59 dh_testroot
60 dh_installchangelogs ChangeLog
61 dh_installdocs
[1083]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
[239]74 dh_installman
[1083]75 dh_perl
[239]76 dh_strip
77 dh_compress
78 dh_fixperms
[1083]79 # dh_makeshlibs
[239]80 dh_installdeb
[1083]81 # dh_shlibdeps
[239]82 dh_gencontrol
83 dh_md5sums
84 dh_builddeb
[238]85
86binary: binary-indep binary-arch
[244]87.PHONY: build clean binary-indep binary-arch binary install
Note: See TracBrowser for help on using the repository browser.