39 |
# the build should fail if the tests are not successful |
# the build should fail if the tests are not successful |
40 |
#$(MAKE) check |
#$(MAKE) check |
41 |
|
|
42 |
|
# Wiping 'dependency_libs' fields from all .la files |
43 |
|
# (see https://wiki.debian.org/ReleaseGoals/LAFileRemoval for details). |
44 |
|
# This is a workaround to avoid unnecessary lib dependencies of |
45 |
|
# apps/libs that link against libgig. Note that this might require |
46 |
|
# manual adjustments to projects linking statically against libgig. |
47 |
|
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'` `find . -name '*.lai'` |
48 |
|
# rebuild of gigtools is required to get rid of their unnecessary lib dependencies as well |
49 |
|
( cd src/tools && $(MAKE) clean ) |
50 |
|
# explicitly remove "-luuid" occurrences from src/tools/Makefile |
51 |
|
sed -i "s/-luuid//" src/tools/Makefile |
52 |
|
# now rebuild gigtools |
53 |
|
$(MAKE) |
54 |
|
|
55 |
# generate Doxygen API documentation |
# generate Doxygen API documentation |
56 |
$(MAKE) docs |
$(MAKE) docs |
57 |
|
|
62 |
dh_testroot |
dh_testroot |
63 |
rm -f build-stamp |
rm -f build-stamp |
64 |
|
|
65 |
$(MAKE) -f Makefile.cvs || true |
$(MAKE) -f Makefile.svn || true |
66 |
chmod a+x configure |
chmod a+x configure |
67 |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
68 |
|
|