source: pbconf/devel/rpmbootstrap/deb/rules @ 1082

Last change on this file since 1082 was 1082, checked in by bruno, 9 years ago
  • Remove most lintian warnings for Debian upload
  • Property svn:executable set to *
File size: 1.8 KB
RevLine 
[972]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
[1082]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
[972]20# Define package name variable for a one-stop change.
21PACKAGE_NAME = PBPKG
22
23build: build-stamp
24
25build-stamp:
26        dh_testdir
27
28        # Add here commands to compile the package.
[1082]29        $(PERL) Makefile.PL INSTALLDIRS=vendor PBKEYWORD=$(CURDIR)/PBFINALDIR MANDIR=/usr/share/man
[972]30        $(MAKE)
31        touch $@
32
33clean:
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
43install: build
44        dh_testdir
45        dh_testroot
46        dh_clean -k
47        dh_installdirs
48
[1082]49        # Remove extra files
50        # Add here commands to install the package
[972]51        $(MAKE) install DESTDIR=$(CURDIR)/debian/PBPKG
52
[1082]53# Build architecture-dependent files here.
54binary-arch: build install
55    # We have nothing to do by default.
56
[972]57# Build architecture-independent files here.
58binary-indep: build install
59            dh_testdir
60            dh_testroot
61            dh_installchangelogs ChangeLog
62            dh_installdocs
[1082]63            #       dh_installexamples
64            #       dh_install
65            #       dh_installmenu
66            #       dh_installdebconf
67            #       dh_installlogrotate
68            #       dh_installemacsen
69            #       dh_installpam
70            #       dh_installmime
71            #       dh_python
72            #       dh_installinit
73            #       dh_installcron
74            #       dh_installinfo
[972]75            dh_installman
[1082]76            dh_perl
[972]77            dh_strip
78            dh_compress
79            dh_fixperms
[1082]80            #       dh_makeshlibs
[972]81            dh_installdeb
[1082]82            #       dh_shlibdeps
[972]83            dh_gencontrol
84            dh_md5sums
85            dh_builddeb
86
87binary: binary-indep binary-arch
88.PHONY: build clean binary-indep binary-arch binary install
Note: See TracBrowser for help on using the repository browser.