Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Passing hardcoded GLUT_LIBS necessary to link demo programs and tests. GLUT
4 # doesn't have pkg-config files or other simple mechanisms.
5 GLUT_LIBS := -lglut -lGLU -lGL -lm
6
7 SHLIBVER := 2.4.0
8 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
9 ^(\./\.git/.*|\./debian/.*|\./\.pc/.*|\./test/font_pack/(El_Abogado_Loco\.ttf|timR12-ISO8859-1\.pcf\.gz)|\./docs/images/.*\.png|\./docs/FTGL_1_3\.gif)$
10
11
12 %:
13 dh $@
14
15 override_dh_auto_build:
16 dh_auto_build -- GLUT_LIBS="$(GLUT_LIBS)"
17
18 override_dh_makeshlibs:
19 dh_makeshlibs -p libftgl2 -V "libftgl2 (>= $(SHLIBVER))"
20
21 licensecheck:
22 licensecheck -i "$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)" --deb-machine -r . \
23 > debian/copyright_newhints
24 cmp debian/copyright_hints debian/copyright_newhints \
25 && rm debian/copyright_newhints