rules revision 8a8a12c19215d7b73a69006287750c622a2bf683
14d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o#! /usr/bin/make -f 24d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# -*- makefile -*- 34d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# 44d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# Invoke each target with `./debian/rules <target>'. All targets should be 54d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# invoked with the package root as the current directory. 64d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# 74d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# The `binary' target must be run as root, as it needs to install files with 84d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# specific ownerships. 94d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o 104d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# be paranoid 114d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'oexport LC_ALL=C 124d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o 1395f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o# These are used for cross-compiling and for saving the configure script 14686c4c124fb5ee2b676d26d98efd861c6e021d88Theodore Ts'o# from having to guess our platform (since we know it already) 15686c4c124fb5ee2b676d26d98efd861c6e021d88Theodore Ts'oDEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) 1695f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oDEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) 1795f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oDEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) 1895f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oDEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) 1995f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o 20f85cc2a8c25d3daa6391cb1aad034a8eafc9e6c0Theodore Ts'o# find the version for the main package, from changelog file 21f85cc2a8c25d3daa6391cb1aad034a8eafc9e6c0Theodore Ts'oMAIN_VERSION = $(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g') 22f85cc2a8c25d3daa6391cb1aad034a8eafc9e6c0Theodore Ts'o# find versions for libraries going into their own packages, from their Makefile.in's, 23f85cc2a8c25d3daa6391cb1aad034a8eafc9e6c0Theodore Ts'o# and sonames for all libs 243e41608aacc26fc8f4bd753600976afe4c125c58Samuel ThibaultCOMERR_VERSION = $(shell grep ELF_VERSION lib/et/Makefile.in | cut '-d ' -f3) 25f85cc2a8c25d3daa6391cb1aad034a8eafc9e6c0Theodore Ts'oCOMERR_SOVERSION = $(shell grep ELF_SO_VERSION lib/et/Makefile.in | cut '-d ' -f3) 26f85cc2a8c25d3daa6391cb1aad034a8eafc9e6c0Theodore Ts'oSS_VERSION = $(shell grep ELF_VERSION lib/ss/Makefile.in | cut '-d ' -f3) 274d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'oSS_SOVERSION = $(shell grep ELF_SO_VERSION lib/ss/Makefile.in | cut '-d ' -f3) 284d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'oUUID_VERSION = $(shell grep ELF_VERSION lib/uuid/Makefile.in | cut '-d ' -f3) 2956eb4d47492c975b25ab1737a6fffefc80e5c137Theodore Ts'oUUID_SOVERSION = $(shell grep ELF_SO_VERSION lib/uuid/Makefile.in | cut '-d ' -f3) 30e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'oBLKID_VERSION = $(shell grep ELF_VERSION lib/blkid/Makefile.in | cut '-d ' -f3) 31e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'oBLKID_SOVERSION = $(shell grep ELF_SO_VERSION lib/blkid/Makefile.in | cut '-d ' -f3) 324d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'oEXT2FS_SOVERSION = $(shell grep ELF_SO_VERSION lib/ext2fs/Makefile.in | cut '-d ' -f3) 33e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'oE2P_SOVERSION = $(shell grep ELF_SO_VERSION lib/e2p/Makefile.in | cut '-d ' -f3) 344d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o 35e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'opackage=e2fsprogs 3695f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o 3795f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'otopdir=$(shell pwd) 384d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'odebdir=${topdir}/debian 39e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'otmpdir=${debdir}/tmp 4095f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oudebdir=${debdir}/e2fsprogs-udeb 416fe7d1156ad86f9d4cb90b0b5ed1f215788bbdc1Theodore Ts'oblkidudebdir=${debdir}/libblkid1-udeb 426fe7d1156ad86f9d4cb90b0b5ed1f215788bbdc1Theodore Ts'ouuidudebdir=${debdir}/libuuid1-udeb 4395f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'omaindir=${debdir}/e2fsprogs 4495f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'ostdbuilddir=${debdir}/BUILD-STD 45e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'obfbuilddir=${debdir}/BUILD-BF 46e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'omipsbuilddir=${debdir}/BUILD-MIPS 474d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o# docdir=${maindir}/usr/share/doc/${package} 484d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'oMANDIR=/usr/share/man 494d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'omandir=${tmpdir}${MANDIR} 504d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o 514d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'oUDEB_NAME = $(package)-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb 52b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'oUDEB_PRIORITY = $(shell grep '^Package: e2fsprogs-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2) 53dd198d6885f46f760ea8704837815800371c937fTheodore Ts'o 5495f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oBLKID_UDEB_NAME = libblkid1-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb 55417781aff16157a8e8a31d63f235bd7e6c48feebTheodore Ts'oBLKID_UDEB_PRIORITY = $(shell grep '^Package: libblkid1-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2) 56e254d05b95f750c697b69746a0221f1e9047bcaaTheodore Ts'o 5795f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oUUID_UDEB_NAME = libuuid1-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb 58fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oUUID_UDEB_PRIORITY = $(shell grep '^Package: libuuid1-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2) 59fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'o 60fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oSTAMPSDIR=debian/stampdir 61fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oCFGSTDSTAMP=${STAMPSDIR}/configure-std-stamp 62fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oCFGBFSTAMP=${STAMPSDIR}/configure-bf-stamp 63fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oBUILDSTDSTAMP=${STAMPSDIR}/build-std-stamp 6495f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oBUILDBFSTAMP=${STAMPSDIR}/build-bf-stamp 65fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'o 66fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oCCOPTS = -g -fsigned-char 67fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'o 68fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oINSTALL = install 69fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oINSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 70fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'o 71fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 72fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oCCOPTS += -O2 7395f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oendif 74fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) 75fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oINSTALL_PROGRAM += -s 76fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oendif 77b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o 78fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oifeq (${DEB_HOST_ARCH},alpha) 79fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'oCCOPTS += -DHAVE_NETINET_IN_H 8079786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'oelse 8179786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'oCCOPTS += -D__NO_STRING_INLINES 82a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'oendif 83e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o 84b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'oBF_CCOPTS = -Os -fomit-frame-pointer 85b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o 864d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'oCOMMON_CONF_FLAGS = \ 87b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o --enable-elf-shlibs --enable-dynamic-e2fsck \ 884d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o --infodir=/usr/share/info --enable-fsck 89dd198d6885f46f760ea8704837815800371c937fTheodore Ts'o 9095f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oSTD_CONF_FLAGS = --with-ccopts="${CCOPTS}" --enable-compression 91dd198d6885f46f760ea8704837815800371c937fTheodore Ts'o 9295f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'oBF_CONF_FLAGS = --with-ccopts="${CCOPTS} ${BF_CCOPTS}" \ 93417781aff16157a8e8a31d63f235bd7e6c48feebTheodore Ts'o --disable-nls --disable-swapfs --disable-imager \ 9495f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o --disable-debugfs --disable-e2initrd-helper 95417781aff16157a8e8a31d63f235bd7e6c48feebTheodore Ts'o 96e254d05b95f750c697b69746a0221f1e9047bcaaTheodore Ts'oMIPS_NOPIC_CONF_FLAGS = --with-ccopts="${CCOPTS}" \ 9795f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o --disable-nls \ 9895f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o --disable-swapfs --disable-imager \ 99e254d05b95f750c697b69746a0221f1e9047bcaaTheodore Ts'o --disable-resizer # --disable-debugfs 100541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o# we can't use those flags at configure time 101541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'oMIPS_CFLAGS= -G 0 -fno-pic -mno-abicalls 102541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o 103a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'oifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) 104541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'oifneq (,$(findstring $(DEB_BUILD_ARCH),mips mipsel)) 105541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'oismips=ismips 106a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'oendif 107541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'oendif 1081893e7133190994b173bdb560d5bd14425c9d49cTheodore Ts'o 109b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o${CFGSTDSTAMP}: 1101893e7133190994b173bdb560d5bd14425c9d49cTheodore Ts'o dh_testdir 111fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'o 112fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'o # Make sure we don't try to rebuild the configure scripts 113fbcb3a850494a499b6b65c853e09eb0f51d7a4daTheodore Ts'o find . -name configure | xargs touch 1141893e7133190994b173bdb560d5bd14425c9d49cTheodore Ts'o 1154d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o mkdir -p ${stdbuilddir} 1160b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'oifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) 1174d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o cd ${stdbuilddir} && AWK=/usr/bin/awk \ 1180b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o ${topdir}/configure ${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS} 1194d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'oelse 1204d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o cd ${stdbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \ 1213e41608aacc26fc8f4bd753600976afe4c125c58Samuel Thibault ${topdir}/configure ${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS} \ 122a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o --build=$(DEB_BUILD_GNU_TYPE) $(DEB_HOST_GNU_TYPE) 123a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'oendif 124a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o 125a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o # specially-built MIPS lib 1263e41608aacc26fc8f4bd753600976afe4c125c58Samuel Thibault if [ ismips = "${ismips}" ]; then \ 1273e41608aacc26fc8f4bd753600976afe4c125c58Samuel Thibault mkdir -p ${mipsbuilddir} ; \ 1280b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o cd ${mipsbuilddir} && AWK=/usr/bin/awk \ 12979786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o ${topdir}/configure ${MIPS_NOPIC_CONF_FLAGS} ; \ 13079786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o fi 13195f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o 13295f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o mkdir -p ${STAMPSDIR} 13395f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o touch ${CFGSTDSTAMP} 13495f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o 13595f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o${CFGBFSTAMP}: 13695f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o dh_testdir 13795f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o rm -f config.cache 13879786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 1390b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o mkdir -p ${bfbuilddir} 14079786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'oifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) 1410b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o cd ${bfbuilddir} && AWK=/usr/bin/awk \ 14261a679d4d78436e5f050a2fbd9fc174fc4d331ecTheodore Ts'o ${topdir}/configure ${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS} 1438a8a12c19215d7b73a69006287750c622a2bf683Theodore Ts'oelse 14479786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o cd ${bfbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \ 1450b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o ${topdir}/configure ${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS} \ 146a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o --build=$(DEB_BUILD_GNU_TYPE) $(DEB_HOST_GNU_TYPE) 1470b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'oendif 148a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o mkdir -p ${STAMPSDIR} 1490b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o touch ${CFGBFSTAMP} 15061a679d4d78436e5f050a2fbd9fc174fc4d331ecTheodore Ts'o 151dd198d6885f46f760ea8704837815800371c937fTheodore Ts'obuild: build-std build-bf 152b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o 1532a4c77bc1d64585d7c00251c2b3ba2f7cb25094eTheodore Ts'obuild-std: ${BUILDSTDSTAMP} 1542a4c77bc1d64585d7c00251c2b3ba2f7cb25094eTheodore Ts'o${BUILDSTDSTAMP}: ${CFGSTDSTAMP} 155b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o dh_testdir 156e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o make -C ${stdbuilddir} all 157e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o 158e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o ( cd ${stdbuilddir}/doc && \ 159e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o texi2html -split_chapter ${topdir}/doc/libext2fs.texinfo ) 160e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o ( cd ${stdbuilddir}/lib/et && make com_err.info && \ 161e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o texi2html -split_chapter -expandinfo ${topdir}/lib/et/com_err.texinfo ) 162e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o 16395f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o # specially-built MIPS lib 16495f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o if [ ismips = "${ismips}" ]; then \ 16595f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o make -C ${mipsbuilddir}/util ; \ 16695f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o make -C ${mipsbuilddir} libs \ 16795f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o CFLAGS="${CCOPTS} ${MIPS_CFLAGS}" \ 16895f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o LIB_SUBDIRS="lib/et lib/ext2fs" ; \ 16995f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o fi 17095f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o 17195f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o touch ${BUILDSTDSTAMP} 17295f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o 173541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'obuild-bf: ${BUILDBFSTAMP} 1744d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o${BUILDBFSTAMP}: ${CFGBFSTAMP} 175541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o dh_testdir 17641b6ae6058daa15e2159ac816356fec1930608f3Theodore Ts'o make -C ${bfbuilddir} libs 17741b6ae6058daa15e2159ac816356fec1930608f3Theodore Ts'o make -C ${bfbuilddir}/e2fsck all 17841b6ae6058daa15e2159ac816356fec1930608f3Theodore Ts'o make -C ${bfbuilddir}/misc all 17979786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o touch ${BUILDBFSTAMP} 18079786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 181be5a72daa761df4484061d39a3bd44915d56674eTheodore Ts'oclean: 1820b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o dh_testdir 1830b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o rm -rf ${STAMPSDIR} 18479786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o -make -C ${stdbuilddir} -i distclean 185be5a72daa761df4484061d39a3bd44915d56674eTheodore Ts'o -make -C ${bfbuilddir} -i distclean 18679786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o rm -rf ${stdbuilddir} ${bfbuilddir} ${mipsbuilddir} 1870b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o rm -f doc/libext2fs/*.html lib/et/com_err/*.html debian/*.substvars 1880b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o dh_clean 18979786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 190e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'oinstall: cleanup install-std 191b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o 192b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o# This rule allows to factorize the dh_clean between the 2 install rules 193b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o# This must be launched before install-* (if launching them by hand, for 194b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o# exemple) or results are unpredictable 1950b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'ocleanup: 196b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o dh_testdir 1970b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o dh_testroot 198b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o dh_clean -k 199e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o 200541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'oinstall-std: DH_OPTIONS= 201541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'oinstall-std: build 2024d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o dh_testdir 203541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o dh_testroot 2044d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o dh_installdirs 205541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o 206541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o mkdir -p ${tmpdir}/sbin 20779786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o make -C ${stdbuilddir} install DESTDIR=${tmpdir} \ 2084d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true 209be5a72daa761df4484061d39a3bd44915d56674eTheodore Ts'o # static libs and .h files 2100b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o make -C ${stdbuilddir} install-libs DESTDIR=${tmpdir} LDCONFIG=true 2110b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o 2124d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o # statically-linked fsck 213be5a72daa761df4484061d39a3bd44915d56674eTheodore Ts'o ${INSTALL_PROGRAM} ${stdbuilddir}/e2fsck/e2fsck.static ${tmpdir}/sbin 21479786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o ln -s e2fsck.8.gz ${mandir}/man8/e2fsck.static.8.gz 2150b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o 2160b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o ln -s et/com_err.h ${tmpdir}/usr/include 2174d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o 218541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o dh_movefiles 219541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o test -z `find ${tmpdir} -type f` 22079786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 221a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o # specially-built MIPS lib 222a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o if [ ismips = "${ismips}" ]; then \ 223a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o cp ${mipsbuilddir}/lib/libext2fs.a \ 224a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o ${debdir}/e2fslibs-dev/usr/lib/libext2fs-nopic.a ; \ 225a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o fi 226a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o 2274f2e8f19827e8b4b9a6b030af8534129cd5e5503Theodore Ts'oinstall-udeb: DH_OPTIONS= 2283218dc9db8fc2affeae2fb563db0fc07a55a59deTheodore Ts'oinstall-udeb: build 2290b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o dh_testdir 230025d1e77c81a77869f527bed018eb6701a6d419eTheodore Ts'o dh_testroot 2313218dc9db8fc2affeae2fb563db0fc07a55a59deTheodore Ts'o 2323218dc9db8fc2affeae2fb563db0fc07a55a59deTheodore Ts'o make -C ${bfbuilddir} install-shlibs-libs-recursive DESTDIR=${udebdir} \ 2330b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true 234025d1e77c81a77869f527bed018eb6701a6d419eTheodore Ts'o make -C ${bfbuilddir}/e2fsck install DESTDIR=${udebdir} \ 2354f2e8f19827e8b4b9a6b030af8534129cd5e5503Theodore Ts'o INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true 236a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o make -C ${bfbuilddir}/misc install DESTDIR=${udebdir} \ 237a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true 238a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o make -C ${bfbuilddir}/resize install DESTDIR=${udebdir} \ 2390b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true 240025d1e77c81a77869f527bed018eb6701a6d419eTheodore Ts'o 241a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o rm -rf ${udebdir}/usr 242a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o find ${udebdir}/sbin -type f -a ! -name e2fsck \ 243a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o -a ! -name mke2fs -a ! -name tune2fs \ 244a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o -a ! -name resize2fs -a ! -name badblocks -print | xargs rm 245a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o 24679786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o (cd ${udebdir}/sbin; ln -s e2fsck fsck.ext2 ; \ 247541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o ln -s e2fsck fsck.ext3 ; ln -s mke2fs mkfs.ext2 ; \ 248541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o ln -s mke2fs mkfs.ext3) 24979786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 25026d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o mkdir -p ${blkidudebdir}/lib 2517e8fe327b51051adcbb0d44169b1a933173ce1ffTheodore Ts'o mv ${udebdir}/lib/libblkid.* ${blkidudebdir}/lib 252e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o 2534534f8bc3fb3e2fa6f8420596787fa397f525cd4Theodore Ts'o mkdir -p ${uuidudebdir}/lib 2544534f8bc3fb3e2fa6f8420596787fa397f525cd4Theodore Ts'o mv ${udebdir}/lib/libuuid.* ${uuidudebdir}/lib 255e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o 256b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'obinary-indep: 257b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o # no arch-independant debs. 25826d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o 25926d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'obinary-arch: DH_OPTIONS= -a 2600b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'obinary-arch: install install-udeb 261b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o dh_testdir 26226d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o dh_testroot 26326d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o 2640b5b9f90eec5cb383c660fe10ef2c88193e80fe7Theodore Ts'o # lintian overrides 265b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o for i in $$(cd debian && echo *.lintian-overrides); do \ 266b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o pkg=$${i%.lintian-overrides} ;\ 267e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o install -m644 -D -p debian/$$i ${debdir}/$${pkg}/usr/share/lintian/overrides/$${pkg} ;\ 268541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o done 26979786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 270541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o # mkinitrd script 271541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o mkdir -p debian/e2fsprogs/usr/share/initrd-tools/scripts 27279786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o install -m755 debian/initrd-tools.e2fsprogs \ 27326d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o debian/e2fsprogs/usr/share/initrd-tools/scripts/e2fsprogs 27426d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o 27526d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o # initrd script 276541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o mkdir -p debian/e2fsprogs/usr/share/e2fsprogs 2774d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o install -m755 debian/initrd.ext3-add-journal \ 278a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o debian/e2fsprogs/usr/share/e2fsprogs/initrd.ext3-add-journal 279a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o 280a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o 28126d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o # symlinks to prepare dh_installdocs run 2827e8fe327b51051adcbb0d44169b1a933173ce1ffTheodore Ts'o mkdir -p ${debdir}/e2fsck-static/usr/share/doc/ 283a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o ln -sf e2fsprogs ${debdir}/e2fsck-static/usr/share/doc/e2fsck-static 284a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o 2854d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o mkdir -p ${debdir}/libblkid${BLKID_SOVERSION}/usr/share/doc/libblkid${BLKID_SOVERSION} 2864d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o mkdir -p ${debdir}/libblkid-dev/usr/share/doc 287541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o ln -sf libblkid${BLKID_SOVERSION} ${debdir}/libblkid-dev/usr/share/doc/libblkid-dev 28826d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o 28926d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o mkdir -p ${debdir}/libss${SS_SOVERSION}/usr/share/doc/libss${SS_SOVERSION} 29026d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o mkdir -p ${debdir}/ss-dev/usr/share/doc 291a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o ln -sf libss${SS_SOVERSION} ${debdir}/ss-dev/usr/share/doc/ss-dev 2924534f8bc3fb3e2fa6f8420596787fa397f525cd4Theodore Ts'o 2934d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o mkdir -p ${debdir}/libcomerr${COMERR_SOVERSION}/usr/share/doc/libcomerr${COMERR_SOVERSION} 2944d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o mkdir -p ${debdir}/comerr-dev/usr/share/doc 29562775dc54257c1986a05e33bee25c956c92d783fTheodore Ts'o ln -sf libcomerr${COMERR_SOVERSION} ${debdir}/comerr-dev/usr/share/doc/comerr-dev 29679786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 29779786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o mkdir -p ${debdir}/libuuid${UUID_SOVERSION}/usr/share/doc/libuuid${UUID_SOVERSION} 29879786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o mkdir -p ${debdir}/uuid-dev/usr/share/doc 29979786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o ln -sf libuuid${UUID_SOVERSION} ${debdir}/uuid-dev/usr/share/doc/uuid-dev 30079786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 301b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o mkdir -p ${debdir}/e2fslibs/usr/share/doc/e2fslibs 302b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o mkdir -p ${debdir}/e2fslibs-dev/usr/share/doc 303ef797135f8cee023a0486d1c708595a5608074f3Theodore Ts'o ln -sf e2fslibs ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs-dev 30479786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 30579786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o install -m 644 debian/libblkid.copyright \ 30679786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o ${debdir}/libblkid${BLKID_SOVERSION}/usr/share/doc/libblkid${BLKID_SOVERSION}/copyright 30779786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 30879786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o dh_installdocs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb 309b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o 3104d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o # HTML docs 311b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o install -d ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/html-info/ 31226d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o install -p ${stdbuilddir}/doc/libext2fs/*.html \ 31379786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/html-info/ 31479786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o install -d ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/html-info/ 31526d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o install -p ${stdbuilddir}/lib/et/com_err/*.html \ 3164d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/html-info/ 3171893e7133190994b173bdb560d5bd14425c9d49cTheodore Ts'o 318a827a2a3a77bdb18afc6efa136dbc04832b71e08Theodore Ts'o # texinfo docs 319ec3bb41be77e0f3ea864d9ed49e5675411205cdaTheodore Ts'o mkdir -p ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION} 3204d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o install -p ${topdir}/doc/libext2fs.texinfo \ 321020c5477eae88a6d5cdc2bf9b5e165c4f217dcceTheodore Ts'o ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/libext2fs.texi 322020c5477eae88a6d5cdc2bf9b5e165c4f217dcceTheodore Ts'o install -p ${topdir}/lib/et/com_err.texinfo \ 3232a4c77bc1d64585d7c00251c2b3ba2f7cb25094eTheodore Ts'o ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/com_err.texi 32415fdc401258ea57916831d75aecc2e87144584cfTheodore Ts'o 3252a4c77bc1d64585d7c00251c2b3ba2f7cb25094eTheodore Ts'o install -d ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/examples 326b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o install -p -m 0644 lib/ss/ss_err.et \ 327b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o ${stdbuilddir}/lib/ext2fs/ext2_err.et \ 328b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/examples 329b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o install -d ${debdir}/ss-dev/usr/share/doc/libss${SS_SOVERSION}/examples 330b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o install -p -m 0644 debugfs/debug_cmds.ct \ 331b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o ${debdir}/ss-dev/usr/share/doc/libss${SS_SOVERSION}/examples 332b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o 333e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o install -d ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION} 33462775dc54257c1986a05e33bee25c956c92d783fTheodore Ts'o install -p -m 0644 doc/draft-leach-uuids-guids-01.txt \ 33562775dc54257c1986a05e33bee25c956c92d783fTheodore Ts'o ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION} 33679786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 33779786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o dh_installinfo -pcomerr-dev ${stdbuilddir}/lib/et/com_err.info 33879786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o dh_installinfo -pe2fslibs-dev ${stdbuilddir}/doc/libext2fs.info 33926d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o 34062775dc54257c1986a05e33bee25c956c92d783fTheodore Ts'o DH_OPTIONS= dh_installchangelogs -pe2fsprogs -plibblkid${BLKID_SOVERSION} 34126d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o DH_OPTIONS= dh_installchangelogs -pe2fsprogs -plibcomerr${COMERR_SOVERSION} 34262775dc54257c1986a05e33bee25c956c92d783fTheodore Ts'o DH_OPTIONS= dh_installchangelogs -pe2fsprogs -plibss${SS_SOVERSION} 34326d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o DH_OPTIONS= dh_installchangelogs -pe2fsprogs -plibuuid${UUID_SOVERSION} 34479786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o DH_OPTIONS= dh_installchangelogs -pe2fsprogs -pe2fslibs 34526d68915229c3f18a57ce526f99dc7e3848ba135Theodore Ts'o 3468a8a12c19215d7b73a69006287750c622a2bf683Theodore Ts'o dh_strip 3472a4c77bc1d64585d7c00251c2b3ba2f7cb25094eTheodore Ts'o 34862775dc54257c1986a05e33bee25c956c92d783fTheodore Ts'o dh_compress 349e3075aea55ca1120004ede91cf94b17732793341Theodore Ts'o dh_fixperms 3508a8a12c19215d7b73a69006287750c622a2bf683Theodore Ts'o 3518a8a12c19215d7b73a69006287750c622a2bf683Theodore Ts'o dh_makeshlibs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb 352e3075aea55ca1120004ede91cf94b17732793341Theodore Ts'o dh_makeshlibs -plibcomerr${COMERR_SOVERSION} \ 353e3075aea55ca1120004ede91cf94b17732793341Theodore Ts'o -V 'libcomerr2 (>= 1.33-3)' 354517be2d76e1e67d8e2fea9ffb429b358371e9b83Theodore Ts'o 355517be2d76e1e67d8e2fea9ffb429b358371e9b83Theodore Ts'o dh_installdeb 356517be2d76e1e67d8e2fea9ffb429b358371e9b83Theodore Ts'o dh_shlibdeps -l${stdbuilddir}/lib 357dd198d6885f46f760ea8704837815800371c937fTheodore Ts'o dh_shlibdeps -pe2fsprogs -l${stdbuilddir}/lib \ 35895f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o -u"-Ldebian/e2fsprogs.shlibs.local" 359417781aff16157a8e8a31d63f235bd7e6c48feebTheodore Ts'o dh_shlibdeps -pe2fsprogs-udeb -l${stdbuilddir}/lib \ 360417781aff16157a8e8a31d63f235bd7e6c48feebTheodore Ts'o -u"-Ldebian/e2fsprogs-udeb.shlibs.local" 36179786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o 362e254d05b95f750c697b69746a0221f1e9047bcaaTheodore Ts'o dh_gencontrol -Ncomerr-dev -Nss-dev -Nuuid-dev \ 363e254d05b95f750c697b69746a0221f1e9047bcaaTheodore Ts'o -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb 36495f65c3d70a7a883c3c98d7f53feed970dc64271Theodore Ts'o DH_OPTIONS= dh_gencontrol -pcomerr-dev \ 365e254d05b95f750c697b69746a0221f1e9047bcaaTheodore Ts'o -u '-v${COMERR_VERSION}-${MAIN_VERSION}' 366b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o DH_OPTIONS= dh_gencontrol -pss-dev \ 367b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o -u '-v${SS_VERSION}-${MAIN_VERSION}' 3684d8f08f4582a23a1ac5039871f4f15ff878bb64dTheodore Ts'o DH_OPTIONS= dh_gencontrol -puuid-dev \ 369b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o -u '-v${UUID_VERSION}-${MAIN_VERSION}' 370dd198d6885f46f760ea8704837815800371c937fTheodore Ts'o 371b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o dh_md5sums -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb 372b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o dh_builddeb -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb 373b90b826b9a82573667b2ba4ce4ff1a0849291ae7Theodore Ts'o 374541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o # udeb stuff 375541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o dh_gencontrol -pe2fsprogs-udeb -- -fdebian/files~ 376541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o dpkg-distaddfile $(UDEB_NAME) debian-installer $(UDEB_PRIORITY) 377b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o dh_builddeb -pe2fsprogs-udeb --filename=$(UDEB_NAME) 378541d173d91b6d30f43d58ad01559fa8ad60871a8Theodore Ts'o 37979786216118bfe97e11626a80e21303ab2fc92c2Theodore Ts'o dh_gencontrol -plibblkid1-udeb -- -fdebian/files~ 380e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o dpkg-distaddfile $(BLKID_UDEB_NAME) debian-installer $(BLKID_UDEB_PRIORITY) 3811d658a136150d02e84eccb8ca11e6bdef781b46cTheodore Ts'o dh_builddeb -plibblkid1-udeb --filename=$(BLKID_UDEB_NAME) 382b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'o 383e2de6b9e694ca40a91039521fd9ff518a1cf5bfcTheodore Ts'o dh_gencontrol -plibuuid1-udeb -- -fdebian/files~ 384e2de6b9e694ca40a91039521fd9ff518a1cf5bfcTheodore Ts'o dpkg-distaddfile $(UUID_UDEB_NAME) debian-installer $(UUID_UDEB_PRIORITY) 385e2de6b9e694ca40a91039521fd9ff518a1cf5bfcTheodore Ts'o dh_builddeb -plibuuid1-udeb --filename=$(UUID_UDEB_NAME) 386e2de6b9e694ca40a91039521fd9ff518a1cf5bfcTheodore Ts'o 387b1e22d52d08adb6a53ef5fe2f943c0692b1a66dcTheodore Ts'obinary: binary-indep binary-arch 388e2de6b9e694ca40a91039521fd9ff518a1cf5bfcTheodore Ts'o 389e2de6b9e694ca40a91039521fd9ff518a1cf5bfcTheodore Ts'o.PHONY: binary binary-arch binary-indep clean checkroot 390e5b164373c2b7feb867f701f6493e3d87765272cTheodore Ts'o