Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # DH_VERBOSE := 1
4 export LC_ALL=C.UTF-8
5
6 include /usr/share/dpkg/default.mk
7
8 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
9
10 %:
11 dh $@ --sourcedirectory=src
12
13 override_dh_auto_build:
14 # upstream is querying Git for a revision which is not possible here
15 # that's why we are using the Debian revision
16 echo '#define ClonalFrameML_GITRevision "v$(DEB_VERSION)"' > src/version.h
17 dh_auto_build
18
19 override_dh_installexamples:
20 dh_installexamples
21 chmod -x debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples/*