Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 #export DH_VERBOSE=1
3
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5
6 %:
7 dh $@
8
9 # by default build is not verbose enough to check build flags:
10 override_dh_auto_configure:
11 dh_auto_configure -- --disable-silent-rules
12
13
14 include /usr/share/dpkg/default.mk
15 VER_FULL = $(DEB_VERSION_UPSTREAM)
16
17 # it should be possible to simplify the following:
18 properties.html:
19 wget -O $@ http://openslide.org/docs/properties/
20 aperio.html:
21 wget -O $@ http://openslide.org/formats/aperio/
22 hamamatsu.html:
23 wget -O $@ http://openslide.org/formats/hamamatsu/
24 leica.html:
25 wget -O $@ http://openslide.org/formats/leica/
26 mirax.html:
27 wget -O $@ http://openslide.org/formats/mirax/
28 philips.html:
29 wget -O $@ http://openslide.org/formats/philips/
30 sakura.html:
31 wget -O $@ http://openslide.org/formats/sakura/
32 trestle.html:
33 wget -O $@ http://openslide.org/formats/trestle/
34 ventana.html:
35 wget -O $@ http://openslide.org/formats/ventana/
36 generic-tiff.html:
37 wget -O $@ http://openslide.org/formats/generic-tiff/
38
39 %.xml: %.html
40 xsltproc --nonet --output $<.dummy.xml --html debian/process.xsl $<
41 sed -i -e 's/BEGIN SECTION/<refsection>/g' -e 's@END SECTION@</refsection>@g' $<.dummy.xml
42 xmllint --nonet --output $@ --format $<.dummy.xml
43 rm $<.dummy.xml
44
45 debian/openslide-formats.3: properties.xml aperio.xml hamamatsu.xml leica.xml mirax.xml philips.xml sakura.xml trestle.xml ventana.xml generic-tiff.xml debian/openslide-formats.3.xml
46 (cd debian && sed -e 's@VER_FULL@$(VER_FULL)@g' openslide-formats.3.xml > openslide.tmp.xml)
47 (cd debian && xsltproc --xinclude openslide.tmp.xml)
48
49 override_dh_install:
50 dh_install
51 find debian/tmp -name lib*.la -delete