~fdm-lab/fidlab/main

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Apostol Faliagas
  • Date: 2019-02-12 21:52:42 UTC
  • Revision ID: apostol.faliagas@gmail.com-20190212215242-mua2h96aikfvog8y
Published version 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
export DH_VERBOSE = 1
 
3
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
4
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 
5
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
6
 
 
7
%:
 
8
        dh $@
 
9
 
 
10
override_dh_auto_clean:
 
11
        rm -rf debian/build
 
12
 
 
13
override_dh_auto_configure:
 
14
        mkdir -p debian/build
 
15
        cd debian/build && meson --buildtype=release --prefix=/usr ../..
 
16
 
 
17
override_dh_auto_build:
 
18
        cd debian/build && ninja -v
 
19
 
 
20
override_dh_auto_test:
 
21
        cd debian/build && ninja test
 
22
 
 
23
override_dh_auto_install:
 
24
        cd debian/build && DESTDIR=${CURDIR}/debian/tmp ninja install
 
25