2 # Sample debian/rules that uses debhelper.
3 # This file is public domain software, originally written by Joey Hess.
4 # Modified for secnet by Stephen Early <steve@greenend.org.uk>
6 # Uncomment this to turn on verbose mode.
9 # This file is Free Software. It has been incorporated into, and
10 # extensively modified, for secnet.
12 # Copyright 2001 Joey Hess
13 # Copyright 2011-2014 Ian Jackson
15 # You may redistribute this file (and the other source files in the
16 # debian/ subdirectory) freely - the copyrightholders declare that
17 # they wish these files to be in the public domain.
19 # You may redistribute secnet as a whole and/or modify it under the
20 # terms of the GNU General Public License as published by the Free
21 # Software Foundation; either version 3, or (at your option) any
24 # This software is distributed in the hope that it will be useful,
25 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 # GNU General Public License for more details.
29 # You should have received a copy of the GNU General Public License
30 # along with this software; if not, see
31 # https://www.gnu.org/licenses/gpl.html.
37 # Add here commands to compile the package.
38 .
/configure
--prefix=/usr
--sysconfdir
=/etc
&& $(MAKE
)
47 # Add here commands to clean up after the build process.
58 # Add here commands to install the package into debian/<packagename>
59 $(MAKE
) DESTDIR
=`pwd`/debian
/`dh_listpackages` install
61 # Build architecture-independent files here.
62 binary-indep
: build
install
63 # We have nothing to do by default.
65 # Build architecture-dependent files here.
66 binary-arch
: build
install
70 dh_installdocs INSTALL README NOTES TODO NEWS BUGS CREDITS
71 dh_installexamples example.conf
94 binary
: binary-indep binary-arch
95 .PHONY
: build
clean binary-indep binary-arch binary
install