source: ProjectBuilder/pbconf/devel/ProjectBuilder/deb/rules@ 2136

Last change on this file since 2136 was 2136, checked in by Bruno Cornec, 8 years ago

Fix #115

The standard conf file is now under /usr/share/pb and the one under
/etc/pn is modifyable by the sysadmin is contains only comments by
default.

  • 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
[1081]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.
[541]21PACKAGE_NAME = PBREALPKG
[238]22
23build: build-stamp
24
[244]25build-stamp:
[239]26 dh_testdir
[238]27
[239]28 # Add here commands to compile the package.
[2136]29 $(PERL) Makefile.PL CONFDIR=/usr/share/pb SYSCONFDIR=/etc/pb 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
[541]49 # Add here commands to install the package into debian/PBREALPKG
50 $(MAKE) install DESTDIR=$(CURDIR)/debian/PBREALPKG
[238]51
[1878]52# Build architecture-dependent files here.
[1081]53binary-arch: build install
[1878]54 # We have nothing to do by default.
55 #
[238]56# Build architecture-independent files here.
57binary-indep: build install
[1081]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
[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.