~ubuntu-branches/ubuntu/wily/broctl/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Raúl Benencia
  • Date: 2015-02-06 14:17:40 UTC
  • Revision ID: package-import@ubuntu.com-20150206141740-n7zz27u21qc9alo1
Tags: 1.3-1
Initial release (Closes: #771143)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
DPKG_EXPORT_BUILDFLAGS = 1
 
3
include /usr/share/dpkg/default.mk
 
4
 
 
5
%:
 
6
        dh $@  --buildsystem=cmake --with=python2
 
7
 
 
8
override_dh_auto_clean:
 
9
        dh_auto_clean
 
10
 
 
11
override_dh_auto_build:
 
12
        dh_auto_build
 
13
        python BroControl/options.py     > debian/options.rst
 
14
        python BroControl/doc.py         > debian/plugins.rst
 
15
        python bin/broctl.in --print-doc > debian/commands.rst
 
16
 
 
17
override_dh_auto_configure:
 
18
        dh_auto_configure -- \
 
19
        -DBRO_ETC_INSTALL_DIR=/etc/bro -DBRO_SCRIPT_INSTALL_PATH=/usr/share/bro
 
20
 
 
21
override_dh_install:
 
22
        dh_install --fail-missing