Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7
8 include /usr/share/dpkg/architecture.mk
9
10 %:
11 dh $@
12
13
14 override_dh_auto_build:
15 ifeq (linux,$(DEB_HOST_ARCH_OS))
16 dh_auto_build -D src -- -f fte-unix.mak
17 else
18 dh_auto_build -D src -- -f fte-unix.mak cfte xfte sfte nfte
19 endif
20
21 override_dh_auto_install:
22 # Don't run dh_auto_install It triggers upstream's default
23 # build target which breaks non-linux builds. See above.
24
25 override_dh_auto_clean:
26 dh_auto_clean -D src -- -f fte-unix.mak
27
28 override_dh_install-arch:
29 cd config; $(CURDIR)/src/cfte main.fte $(CURDIR)/debian/fte/etc/fte/system.fterc
30 dh_install
31
32 override_dh_install-indep:
33 chmod -R go=rX config
34 tar --sort=name -cf $(CURDIR)/debian/fte-docs/usr/share/doc/fte/config-example.tar config
35 gzip -9n $(CURDIR)/debian/fte-docs/usr/share/doc/fte/config-example.tar
36 dh_install
37
38 override_dh_installchangelogs:
39 dh_installchangelogs NEWS