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
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.
14export PERL_MM_USE_DEFAULT=1
15
16ifndef PERL
17PERL = /usr/bin/perl
18endif
19
20# Define package name variable for a one-stop change.
21PACKAGE_NAME = PBREALPKG
22
23build: build-stamp
24
25build-stamp:
26 dh_testdir
27
28 # Add here commands to compile the package.
29 $(PERL) Makefile.PL CONFDIR=/usr/share/pb SYSCONFDIR=/etc/pb INSTALLDIRS=vendor PBKEYWORD=$(CURDIR)/PBFINALDIR MANDIR=/usr/share/man
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
49 # Add here commands to install the package into debian/PBREALPKG
50 $(MAKE) install DESTDIR=$(CURDIR)/debian/PBREALPKG
51
52# Build architecture-dependent files here.
53binary-arch: build install
54 # We have nothing to do by default.
55 #
56# Build architecture-independent files here.
57binary-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
86binary: binary-indep binary-arch
87.PHONY: build clean binary-indep binary-arch binary install
Note: See TracBrowser for help on using the repository browser.