blob: 09fac76b762a6b337cf371babcd7721416b4b4f4 [file] [log] [blame]
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +00001#! /usr/bin/make -f
2# -*- makefile -*-
3#
4# Invoke each target with `./debian/rules <target>'. All targets should be
5# invoked with the package root as the current directory.
6#
7# The `binary' target must be run as root, as it needs to install files with
8# specific ownerships.
9
10# be paranoid
11export LC_ALL=C
12
Theodore Ts'of85cc2a2003-07-26 00:48:08 -040013# These are used for cross-compiling and for saving the configure script
14# from having to guess our platform (since we know it already)
15DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
16DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
Samuel Thibault3e416082007-08-14 11:25:45 +020017DEB_HOST_OS ?= $(shell dpkg-architecture -qDEB_HOST_OS)
Theodore Ts'of85cc2a2003-07-26 00:48:08 -040018DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
19DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +000020
21# find the version for the main package, from changelog file
Theodore Ts'o56eb4d42004-09-17 19:54:22 -040022MAIN_VERSION = $(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g')
Theodore Ts'oe5b16432002-08-17 21:11:29 -040023# find versions for libraries going into their own packages, from their Makefile.in's,
24# and sonames for all libs
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +000025COMERR_VERSION = $(shell grep ELF_VERSION lib/et/Makefile.in | cut '-d ' -f3)
Theodore Ts'oe5b16432002-08-17 21:11:29 -040026COMERR_SOVERSION = $(shell grep ELF_SO_VERSION lib/et/Makefile.in | cut '-d ' -f3)
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +000027SS_VERSION = $(shell grep ELF_VERSION lib/ss/Makefile.in | cut '-d ' -f3)
Theodore Ts'oe5b16432002-08-17 21:11:29 -040028SS_SOVERSION = $(shell grep ELF_SO_VERSION lib/ss/Makefile.in | cut '-d ' -f3)
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +000029UUID_VERSION = $(shell grep ELF_VERSION lib/uuid/Makefile.in | cut '-d ' -f3)
Theodore Ts'oe5b16432002-08-17 21:11:29 -040030UUID_SOVERSION = $(shell grep ELF_SO_VERSION lib/uuid/Makefile.in | cut '-d ' -f3)
Theodore Ts'o6fe7d112003-03-16 19:58:25 -050031BLKID_VERSION = $(shell grep ELF_VERSION lib/blkid/Makefile.in | cut '-d ' -f3)
32BLKID_SOVERSION = $(shell grep ELF_SO_VERSION lib/blkid/Makefile.in | cut '-d ' -f3)
Theodore Ts'oe5b16432002-08-17 21:11:29 -040033EXT2FS_SOVERSION = $(shell grep ELF_SO_VERSION lib/ext2fs/Makefile.in | cut '-d ' -f3)
34E2P_SOVERSION = $(shell grep ELF_SO_VERSION lib/e2p/Makefile.in | cut '-d ' -f3)
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +000035
36package=e2fsprogs
37
38topdir=$(shell pwd)
39debdir=${topdir}/debian
Theodore Ts'ob90b8262001-06-15 22:54:34 +000040tmpdir=${debdir}/tmp
Theodore Ts'odd198d62002-10-31 03:44:35 -050041udebdir=${debdir}/e2fsprogs-udeb
Theodore Ts'o417781a2003-04-10 00:18:56 -040042blkidudebdir=${debdir}/libblkid1-udeb
Theodore Ts'oe254d052003-12-07 01:57:04 -050043uuidudebdir=${debdir}/libuuid1-udeb
Theodore Ts'ofbcb3a82008-07-07 09:43:26 -040044libcomerrdir=${debdir}/libcomerr${COMERR_SOVERSION}
45comerrdevdir=${debdir}/comerr-dev
46libcomerrdbgdir=${debdir}/libcomerr2-dbg
47libssdir=${debdir}/libss${SS_SOVERSION}
48ssdevdir=${debdir}/ss-dev
49libssdbgdir=${debdir}/libss2-dbg
50libblkiddir=${debdir}/libblkid${BLKID_SOVERSION}
51libblkiddevdir=${debdir}/libblkid-dev
52libblkiddbgdir=${debdir}/libblkid1-dbg
53libuuiddir=${debdir}/libuuid${UUID_SOVERSION}
54uuiddevdir=${debdir}/uuid-dev
55libuuiddbgdir=${debdir}/libuuid1-dbg
56uuidruntimedir=${debdir}/uuid-runtime
57uuidruntimedbgdir=${debdir}/uuid-runtime-dbg
58libext2dir=${debdir}/e2fslibs
59libext2devdir=${debdir}/e2fslibs-dev
60libext2dbgdir=${debdir}/e2fslibs-dbg
Theodore Ts'ob90b8262001-06-15 22:54:34 +000061maindir=${debdir}/e2fsprogs
Theodore Ts'ofbcb3a82008-07-07 09:43:26 -040062e2fsckstaticdir=${debdir}/e2fsck-static
63debugdir=${debdir}/e2fsprogs-dbg
Theodore Ts'o79786212001-06-22 23:05:23 -040064stdbuilddir=${debdir}/BUILD-STD
65bfbuilddir=${debdir}/BUILD-BF
Theodore Ts'oa827a2a2007-12-31 17:17:39 -050066staticbuilddir=${debdir}/BUILD-STATIC
Theodore Ts'oe5b16432002-08-17 21:11:29 -040067mipsbuilddir=${debdir}/BUILD-MIPS
Theodore Ts'ob1e22d52005-12-29 09:16:00 -050068mipsbuilddir64=${debdir}/BUILD-MIPS-64
Theodore Ts'ob90b8262001-06-15 22:54:34 +000069# docdir=${maindir}/usr/share/doc/${package}
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +000070MANDIR=/usr/share/man
Theodore Ts'ob90b8262001-06-15 22:54:34 +000071mandir=${tmpdir}${MANDIR}
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +000072
Theodore Ts'odd198d62002-10-31 03:44:35 -050073UDEB_NAME = $(package)-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb
74UDEB_PRIORITY = $(shell grep '^Package: e2fsprogs-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2)
75
Theodore Ts'o417781a2003-04-10 00:18:56 -040076BLKID_UDEB_NAME = libblkid1-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb
77BLKID_UDEB_PRIORITY = $(shell grep '^Package: libblkid1-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2)
78
Theodore Ts'oe254d052003-12-07 01:57:04 -050079UUID_UDEB_NAME = libuuid1-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb
80UUID_UDEB_PRIORITY = $(shell grep '^Package: libuuid1-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2)
81
Theodore Ts'o541d1732002-02-23 21:23:26 -050082STAMPSDIR=debian/stampdir
83CFGSTDSTAMP=${STAMPSDIR}/configure-std-stamp
84CFGBFSTAMP=${STAMPSDIR}/configure-bf-stamp
Theodore Ts'oa827a2a2007-12-31 17:17:39 -050085CFGSTATICSTAMP=${STAMPSDIR}/configure-static-stamp
Theodore Ts'o541d1732002-02-23 21:23:26 -050086BUILDSTDSTAMP=${STAMPSDIR}/build-std-stamp
87BUILDBFSTAMP=${STAMPSDIR}/build-bf-stamp
Theodore Ts'oa827a2a2007-12-31 17:17:39 -050088BUILDSTATICSTAMP=${STAMPSDIR}/build-static-stamp
Theodore Ts'o541d1732002-02-23 21:23:26 -050089
Theodore Ts'of77704e2006-11-11 22:32:35 -050090CCOPTS = -g
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +000091
Theodore Ts'o1893e712001-05-21 02:48:41 +000092INSTALL = install
Theodore Ts'ob1e22d52005-12-29 09:16:00 -050093INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 0755
Theodore Ts'o1893e712001-05-21 02:48:41 +000094
Theodore Ts'o1d658a12003-08-21 01:53:07 -040095ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
96CCOPTS += -O2
Theodore Ts'o1893e712001-05-21 02:48:41 +000097endif
Theodore Ts'ofbcb3a82008-07-07 09:43:26 -040098#ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
99#INSTALL_PROGRAM += -s
100#endif
Theodore Ts'o1893e712001-05-21 02:48:41 +0000101
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000102ifeq (${DEB_HOST_ARCH},alpha)
103CCOPTS += -DHAVE_NETINET_IN_H
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000104else
105CCOPTS += -D__NO_STRING_INLINES
106endif
107
Samuel Thibault3e416082007-08-14 11:25:45 +0200108ifeq (${DEB_HOST_ARCH_OS},linux)
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500109BUILD_STATIC = build-static
110E2FSCK_STATIC = ${staticbuilddir}/e2fsck/e2fsck.static
111else
112E2FSCK_STATIC = ${stdbuilddir}/e2fsck/e2fsck.static
Samuel Thibault3e416082007-08-14 11:25:45 +0200113endif
114
Theodore Ts'o79786212001-06-22 23:05:23 -0400115BF_CCOPTS = -Os -fomit-frame-pointer
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000116
Theodore Ts'o79786212001-06-22 23:05:23 -0400117COMMON_CONF_FLAGS = \
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500118 --enable-elf-shlibs --infodir=/usr/share/info --enable-fsck
Theodore Ts'o79786212001-06-22 23:05:23 -0400119
Theodore Ts'o7515a742008-08-26 23:56:00 -0400120STD_CONF_FLAGS = --with-ccopts="${CCOPTS}" --enable-compression
Theodore Ts'o79786212001-06-22 23:05:23 -0400121
122BF_CONF_FLAGS = --with-ccopts="${CCOPTS} ${BF_CCOPTS}" \
Theodore Ts'oaf773652008-09-01 11:27:27 -0400123 --disable-nls --disable-imager --disable-testio-debug \
Theodore Ts'o61a679d2007-12-31 11:20:01 -0500124 --disable-uuidd --disable-tls \
Theodore Ts'o8a8a12c2005-12-10 22:56:21 -0500125 --disable-debugfs --disable-e2initrd-helper
Theodore Ts'o79786212001-06-22 23:05:23 -0400126
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500127STATIC_CONF_FLAGS = --with-ccopts="${CCOPTS}" \
128 --disable-nls --disable-imager \
129 --disable-uuidd --disable-tls \
130 --disable-e2initrd-helper \
Theodore Ts'o4f2e8f12008-01-27 17:20:44 -0500131 --with-ccopts=-fno-stack-protector
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500132
Theodore Ts'o2a4c77b2002-09-24 01:30:00 -0400133MIPS_NOPIC_CONF_FLAGS = --with-ccopts="${CCOPTS}" \
Theodore Ts'ofef2b382008-01-01 12:41:35 -0500134 --disable-nls --disable-imager \
Theodore Ts'o61a679d2007-12-31 11:20:01 -0500135 --disable-uuidd --disable-tls \
Theodore Ts'odd198d62002-10-31 03:44:35 -0500136 --disable-resizer # --disable-debugfs
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500137
Theodore Ts'o2a4c77b2002-09-24 01:30:00 -0400138# we can't use those flags at configure time
139MIPS_CFLAGS= -G 0 -fno-pic -mno-abicalls
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500140MIPS_CFLAGS_64= -mabi=64 -G 0 -fno-pic -mno-abicalls
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400141
142ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
143ifneq (,$(findstring $(DEB_BUILD_ARCH),mips mipsel))
144ismips=ismips
145endif
146endif
147
Theodore Ts'o541d1732002-02-23 21:23:26 -0500148${CFGSTDSTAMP}:
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000149 dh_testdir
Theodore Ts'o541d1732002-02-23 21:23:26 -0500150
Theodore Ts'o41b6ae62004-09-24 10:07:05 -0400151 # Make sure we don't try to rebuild the configure scripts
152 find . -name configure | xargs touch
153
Theodore Ts'o79786212001-06-22 23:05:23 -0400154 mkdir -p ${stdbuilddir}
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000155ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
Theodore Ts'obe5a72d2005-03-17 01:16:34 -0500156 cd ${stdbuilddir} && AWK=/usr/bin/awk \
Theodore Ts'o79786212001-06-22 23:05:23 -0400157 ${topdir}/configure ${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS}
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000158else
Theodore Ts'obe5a72d2005-03-17 01:16:34 -0500159 cd ${stdbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \
Theodore Ts'o79786212001-06-22 23:05:23 -0400160 ${topdir}/configure ${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS} \
Theodore Ts'oa6ea47a2007-12-15 20:34:41 -0500161 --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000162endif
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400163
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500164 # specially-built MIPS libs
165ifneq ($(ismips),)
166 mkdir -p ${mipsbuilddir} ${mipsbuilddir64}
167 cd ${mipsbuilddir} && AWK=/usr/bin/awk \
168 ${topdir}/configure ${MIPS_NOPIC_CONF_FLAGS}
169 cd ${mipsbuilddir64} && AWK=/usr/bin/awk \
170 ${topdir}/configure ${MIPS_NOPIC_CONF_FLAGS}
171endif
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400172
Theodore Ts'o541d1732002-02-23 21:23:26 -0500173 mkdir -p ${STAMPSDIR}
174 touch ${CFGSTDSTAMP}
Theodore Ts'o79786212001-06-22 23:05:23 -0400175
Theodore Ts'o541d1732002-02-23 21:23:26 -0500176${CFGBFSTAMP}:
Theodore Ts'o79786212001-06-22 23:05:23 -0400177 dh_testdir
Theodore Ts'o541d1732002-02-23 21:23:26 -0500178 rm -f config.cache
179
Theodore Ts'o79786212001-06-22 23:05:23 -0400180 mkdir -p ${bfbuilddir}
181ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
Theodore Ts'obe5a72d2005-03-17 01:16:34 -0500182 cd ${bfbuilddir} && AWK=/usr/bin/awk \
Theodore Ts'o79786212001-06-22 23:05:23 -0400183 ${topdir}/configure ${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS}
184else
Theodore Ts'obe5a72d2005-03-17 01:16:34 -0500185 cd ${bfbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \
Theodore Ts'o79786212001-06-22 23:05:23 -0400186 ${topdir}/configure ${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS} \
Theodore Ts'oa6ea47a2007-12-15 20:34:41 -0500187 --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
Theodore Ts'o79786212001-06-22 23:05:23 -0400188endif
Theodore Ts'o541d1732002-02-23 21:23:26 -0500189 mkdir -p ${STAMPSDIR}
190 touch ${CFGBFSTAMP}
Theodore Ts'o79786212001-06-22 23:05:23 -0400191
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500192${CFGSTATICSTAMP}:
193 dh_testdir
194 rm -f config.cache
195
196 mkdir -p ${staticbuilddir}
197ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
Theodore Ts'o4f2e8f12008-01-27 17:20:44 -0500198 if type diet > /dev/null 2>&1 ; then \
199 STATIC_CONF_FLAGS="$STATIC_CONF_FLAGS --with-diet-libc"; \
200 fi
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500201 cd ${staticbuilddir} && AWK=/usr/bin/awk \
202 ${topdir}/configure ${STATIC_CONF_FLAGS}
203else
204 cd ${staticbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \
205 ${topdir}/configure ${COMMON_CONF_FLAGS} ${STATIC_CONF_FLAGS} \
206 --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
207endif
208 mkdir -p ${STAMPSDIR}
209 touch ${CFGSTATICSTAMP}
210
211build: build-std build-bf $(BUILD_STATIC)
Theodore Ts'o79786212001-06-22 23:05:23 -0400212
Theodore Ts'o541d1732002-02-23 21:23:26 -0500213build-std: ${BUILDSTDSTAMP}
214${BUILDSTDSTAMP}: ${CFGSTDSTAMP}
Theodore Ts'o79786212001-06-22 23:05:23 -0400215 dh_testdir
Theodore Ts'o26d68912008-01-01 16:23:38 -0500216 $(MAKE) -C ${stdbuilddir} all
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500217 $(MAKE) -C ${stdbuilddir}/e2fsck e2fsck.static
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400218
Theodore Ts'o79786212001-06-22 23:05:23 -0400219 ( cd ${stdbuilddir}/doc && \
220 texi2html -split_chapter ${topdir}/doc/libext2fs.texinfo )
Theodore Ts'o26d68912008-01-01 16:23:38 -0500221 ( cd ${stdbuilddir}/lib/et && $(MAKE) com_err.info && \
Theodore Ts'o79786212001-06-22 23:05:23 -0400222 texi2html -split_chapter -expandinfo ${topdir}/lib/et/com_err.texinfo )
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400223
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500224 # specially-built MIPS libs
225ifneq ($(ismips),)
Theodore Ts'o26d68912008-01-01 16:23:38 -0500226 $(MAKE) -C ${mipsbuilddir}/util
227 $(MAKE) -C ${mipsbuilddir} \
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500228 CFLAGS="${CCOPTS} ${MIPS_CFLAGS}" \
229 LIB_SUBDIRS="lib/et lib/ext2fs" libs
Theodore Ts'o26d68912008-01-01 16:23:38 -0500230 $(MAKE) -C ${mipsbuilddir64}/util
231 $(MAKE) -C ${mipsbuilddir64} \
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500232 CFLAGS="${CCOPTS} ${MIPS_CFLAGS_64}" \
233 LIB_SUBDIRS="lib/et lib/ext2fs" libs
234endif
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400235
Theodore Ts'o541d1732002-02-23 21:23:26 -0500236 touch ${BUILDSTDSTAMP}
Theodore Ts'o79786212001-06-22 23:05:23 -0400237
Theodore Ts'o541d1732002-02-23 21:23:26 -0500238build-bf: ${BUILDBFSTAMP}
239${BUILDBFSTAMP}: ${CFGBFSTAMP}
Theodore Ts'o79786212001-06-22 23:05:23 -0400240 dh_testdir
Theodore Ts'o26d68912008-01-01 16:23:38 -0500241 $(MAKE) -C ${bfbuilddir} libs
242 $(MAKE) -C ${bfbuilddir}/e2fsck all
243 $(MAKE) -C ${bfbuilddir}/misc all
Theodore Ts'o541d1732002-02-23 21:23:26 -0500244 touch ${BUILDBFSTAMP}
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000245
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500246build-static: ${BUILDSTATICSTAMP}
247${BUILDSTATICSTAMP}: ${CFGSTATICSTAMP}
248 dh_testdir
Theodore Ts'o26d68912008-01-01 16:23:38 -0500249 $(MAKE) -C ${staticbuilddir} libs
Theodore Ts'o7e8fe322008-01-27 17:43:10 -0500250 $(MAKE) -C ${staticbuilddir}/e2fsck all e2fsck.static
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500251 touch ${BUILDSTATICSTAMP}
252
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000253clean:
254 dh_testdir
Theodore Ts'o541d1732002-02-23 21:23:26 -0500255 rm -rf ${STAMPSDIR}
Theodore Ts'o26d68912008-01-01 16:23:38 -0500256 [ ! -f ${stdbuilddir}/Makefile ] || $(MAKE) -C ${stdbuilddir} distclean
257 [ ! -f ${bfbuilddir}/Makefile ] || $(MAKE) -C ${bfbuilddir} distclean
258 [ ! -f ${staticbuilddir}/Makefile ] || $(MAKE) -C ${staticbuilddir} distclean
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500259 rm -rf ${stdbuilddir} ${bfbuilddir} ${staticbuilddir} ${mipsbuilddir} ${mipsbuilddir64}
Theodore Ts'o8c5829f2005-07-21 19:32:36 -0500260 rm -f doc/libext2fs/*.html lib/et/com_err/*.html debian/*.substvars
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000261 dh_clean
262
Theodore Ts'o62775dc2003-05-08 10:39:50 -0400263install: cleanup install-std
Theodore Ts'o79786212001-06-22 23:05:23 -0400264
265# This rule allows to factorize the dh_clean between the 2 install rules
266# This must be launched before install-* (if launching them by hand, for
267# exemple) or results are unpredictable
268cleanup:
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000269 dh_testdir
270 dh_testroot
271 dh_clean -k
Theodore Ts'o79786212001-06-22 23:05:23 -0400272
273install-std: DH_OPTIONS=
274install-std: build
275 dh_testdir
276 dh_testroot
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000277 dh_installdirs
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000278
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000279 mkdir -p ${tmpdir}/sbin
Theodore Ts'o26d68912008-01-01 16:23:38 -0500280 $(MAKE) -C ${stdbuilddir} install DESTDIR=${tmpdir} \
Theodore Ts'o79786212001-06-22 23:05:23 -0400281 INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true
282 # static libs and .h files
Theodore Ts'o26d68912008-01-01 16:23:38 -0500283 $(MAKE) -C ${stdbuilddir} install-libs DESTDIR=${tmpdir} LDCONFIG=true
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000284
Theodore Ts'o1893e712001-05-21 02:48:41 +0000285 # statically-linked fsck
Theodore Ts'oa827a2a2007-12-31 17:17:39 -0500286 ${INSTALL_PROGRAM} $(E2FSCK_STATIC) ${tmpdir}/sbin
Theodore Ts'oec3bb412006-10-04 09:12:35 -0400287 cp ${mandir}/man8/e2fsck.8 ${mandir}/man8/e2fsck.static.8
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000288
Theodore Ts'o020c5472003-04-10 00:01:19 -0400289 ln -s et/com_err.h ${tmpdir}/usr/include
290
Theodore Ts'o2a4c77b2002-09-24 01:30:00 -0400291 dh_movefiles
292 test -z `find ${tmpdir} -type f`
293
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500294 # specially-built MIPS libs
295ifneq ($(ismips),)
296 $(INSTALL) -p -m 0644 ${mipsbuilddir}/lib/libext2fs.a \
297 ${debdir}/e2fslibs-dev/usr/lib/libext2fs-nopic.a
298 $(INSTALL) -p -m 0644 ${mipsbuilddir64}/lib/libext2fs.a \
299 ${debdir}/e2fslibs-dev/usr/lib/lib64ext2fs-nopic.a
300endif
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400301
Theodore Ts'o62775dc2003-05-08 10:39:50 -0400302install-udeb: DH_OPTIONS=
303install-udeb: build
Theodore Ts'o79786212001-06-22 23:05:23 -0400304 dh_testdir
305 dh_testroot
Theodore Ts'o79786212001-06-22 23:05:23 -0400306
Theodore Ts'o26d68912008-01-01 16:23:38 -0500307 $(MAKE) -C ${bfbuilddir} install-shlibs-libs-recursive DESTDIR=${udebdir} \
Theodore Ts'o79786212001-06-22 23:05:23 -0400308 INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true
Theodore Ts'o26d68912008-01-01 16:23:38 -0500309 $(MAKE) -C ${bfbuilddir}/e2fsck install DESTDIR=${udebdir} \
Theodore Ts'o62775dc2003-05-08 10:39:50 -0400310 INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true
Theodore Ts'o26d68912008-01-01 16:23:38 -0500311 $(MAKE) -C ${bfbuilddir}/misc install DESTDIR=${udebdir} \
Theodore Ts'o62775dc2003-05-08 10:39:50 -0400312 INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true
Theodore Ts'o26d68912008-01-01 16:23:38 -0500313 $(MAKE) -C ${bfbuilddir}/resize install DESTDIR=${udebdir} \
Theodore Ts'o8a8a12c2005-12-10 22:56:21 -0500314 INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true
Theodore Ts'o79786212001-06-22 23:05:23 -0400315
Theodore Ts'o62775dc2003-05-08 10:39:50 -0400316 rm -rf ${udebdir}/usr
Theodore Ts'oe3075ae2003-07-12 16:28:09 -0400317 find ${udebdir}/sbin -type f -a ! -name e2fsck \
Theodore Ts'o8a8a12c2005-12-10 22:56:21 -0500318 -a ! -name mke2fs -a ! -name tune2fs \
319 -a ! -name resize2fs -a ! -name badblocks -print | xargs rm
Theodore Ts'oe3075ae2003-07-12 16:28:09 -0400320
321 (cd ${udebdir}/sbin; ln -s e2fsck fsck.ext2 ; \
322 ln -s e2fsck fsck.ext3 ; ln -s mke2fs mkfs.ext2 ; \
323 ln -s mke2fs mkfs.ext3)
Theodore Ts'o2a4c77b2002-09-24 01:30:00 -0400324
Theodore Ts'o417781a2003-04-10 00:18:56 -0400325 mkdir -p ${blkidudebdir}/lib
326 mv ${udebdir}/lib/libblkid.* ${blkidudebdir}/lib
Theodore Ts'o79786212001-06-22 23:05:23 -0400327
Theodore Ts'oe254d052003-12-07 01:57:04 -0500328 mkdir -p ${uuidudebdir}/lib
329 mv ${udebdir}/lib/libuuid.* ${uuidudebdir}/lib
330
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000331binary-indep:
332 # no arch-independant debs.
333
334binary-arch: DH_OPTIONS= -a
Theodore Ts'odd198d62002-10-31 03:44:35 -0500335binary-arch: install install-udeb
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000336 dh_testdir
337 dh_testroot
338
Theodore Ts'o541d1732002-02-23 21:23:26 -0500339 # lintian overrides
340 for i in $$(cd debian && echo *.lintian-overrides); do \
341 pkg=$${i%.lintian-overrides} ;\
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500342 $(INSTALL) -m 0644 -D -p debian/$$i ${debdir}/$${pkg}/usr/share/lintian/overrides/$${pkg} ;\
Theodore Ts'o541d1732002-02-23 21:23:26 -0500343 done
Theodore Ts'o79786212001-06-22 23:05:23 -0400344
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400345 # mkinitrd script
Theodore Ts'o1d658a12003-08-21 01:53:07 -0400346 mkdir -p debian/e2fsprogs/usr/share/initrd-tools/scripts
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500347 $(INSTALL) -p -o root -g root -m 0755 debian/initrd-tools.e2fsprogs \
Theodore Ts'oe2de6b92004-04-11 16:25:56 -0400348 debian/e2fsprogs/usr/share/initrd-tools/scripts/e2fsprogs
349
350 # initrd script
351 mkdir -p debian/e2fsprogs/usr/share/e2fsprogs
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500352 $(INSTALL) -p -o root -g root -m 0755 debian/initrd.ext3-add-journal \
Theodore Ts'oe2de6b92004-04-11 16:25:56 -0400353 debian/e2fsprogs/usr/share/e2fsprogs/initrd.ext3-add-journal
354
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400355
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000356 # symlinks to prepare dh_installdocs run
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000357
Theodore Ts'o6fe7d112003-03-16 19:58:25 -0500358 mkdir -p ${debdir}/libblkid${BLKID_SOVERSION}/usr/share/doc/libblkid${BLKID_SOVERSION}
359 mkdir -p ${debdir}/libblkid-dev/usr/share/doc
360 ln -sf libblkid${BLKID_SOVERSION} ${debdir}/libblkid-dev/usr/share/doc/libblkid-dev
361
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400362 mkdir -p ${debdir}/libss${SS_SOVERSION}/usr/share/doc/libss${SS_SOVERSION}
363 mkdir -p ${debdir}/ss-dev/usr/share/doc
364 ln -sf libss${SS_SOVERSION} ${debdir}/ss-dev/usr/share/doc/ss-dev
365
366 mkdir -p ${debdir}/libcomerr${COMERR_SOVERSION}/usr/share/doc/libcomerr${COMERR_SOVERSION}
367 mkdir -p ${debdir}/comerr-dev/usr/share/doc
368 ln -sf libcomerr${COMERR_SOVERSION} ${debdir}/comerr-dev/usr/share/doc/comerr-dev
369
370 mkdir -p ${debdir}/libuuid${UUID_SOVERSION}/usr/share/doc/libuuid${UUID_SOVERSION}
371 mkdir -p ${debdir}/uuid-dev/usr/share/doc
Theodore Ts'oec3bb412006-10-04 09:12:35 -0400372# ln -sf libuuid${UUID_SOVERSION} ${debdir}/uuid-dev/usr/share/doc/uuid-dev
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400373
374 mkdir -p ${debdir}/e2fslibs/usr/share/doc/e2fslibs
375 mkdir -p ${debdir}/e2fslibs-dev/usr/share/doc
376 ln -sf e2fslibs ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs-dev
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000377
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500378 $(INSTALL) -p -m 0644 debian/libblkid.copyright \
Theodore Ts'o6fe7d112003-03-16 19:58:25 -0500379 ${debdir}/libblkid${BLKID_SOVERSION}/usr/share/doc/libblkid${BLKID_SOVERSION}/copyright
380
Theodore Ts'oe254d052003-12-07 01:57:04 -0500381 dh_installdocs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000382
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000383 # HTML docs
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500384 $(INSTALL) -d ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/html-info/
385 $(INSTALL) -p -m 0644 ${stdbuilddir}/doc/libext2fs/*.html \
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400386 ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/html-info/
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500387 $(INSTALL) -d ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/html-info/
388 $(INSTALL) -p -m 0644 ${stdbuilddir}/lib/et/com_err/*.html \
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400389 ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/html-info/
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000390
391 # texinfo docs
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400392 mkdir -p ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500393 $(INSTALL) -p -m 0644 ${topdir}/doc/libext2fs.texinfo \
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400394 ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/libext2fs.texi
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500395 $(INSTALL) -p -m 0644 ${topdir}/lib/et/com_err.texinfo \
Theodore Ts'oe5b16432002-08-17 21:11:29 -0400396 ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/com_err.texi
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000397
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500398 $(INSTALL) -d ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/examples
399 $(INSTALL) -p -m 0644 lib/ss/ss_err.et \
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400400 ${stdbuilddir}/lib/ext2fs/ext2_err.et \
401 ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/examples
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500402 $(INSTALL) -d ${debdir}/ss-dev/usr/share/doc/libss${SS_SOVERSION}/examples
403 $(INSTALL) -p -m 0644 debugfs/debug_cmds.ct \
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400404 ${debdir}/ss-dev/usr/share/doc/libss${SS_SOVERSION}/examples
405
Theodore Ts'o60702c22007-09-22 20:42:04 -0400406 if test -f /etc/lsb-release && \
407 grep -q DISTRIB_ID=Ubuntu /etc/lsb-release; then \
408 $(INSTALL) -p -m 0644 e2fsck/e2fsck.conf.ubuntu \
409 ${debdir}/e2fsprogs/etc/e2fsck.conf; \
410 fi
411
Theodore Ts'o541d1732002-02-23 21:23:26 -0500412 dh_installinfo -pcomerr-dev ${stdbuilddir}/lib/et/com_err.info
Theodore Ts'o79786212001-06-22 23:05:23 -0400413 dh_installinfo -pe2fslibs-dev ${stdbuilddir}/doc/libext2fs.info
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000414
Theodore Ts'oec3bb412006-10-04 09:12:35 -0400415 DH_OPTIONS= dh_installchangelogs -pe2fsprogs \
416 -plibblkid${BLKID_SOVERSION} -plibcomerr${COMERR_SOVERSION} \
417 -plibss${SS_SOVERSION} -plibuuid${UUID_SOVERSION} \
Theodore Ts'ofbcb3a82008-07-07 09:43:26 -0400418 -pe2fslibs -puuid-dev -puuid-runtime -pe2fsck-static \
419 -pe2fsprogs-dbg -puuid-runtime-dbg -pe2fslibs-dbg \
420 -plibcomerr2-dbg -plibss2-dbg -plibblkid1-dbg -plibuuid1-dbg
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000421
Theodore Ts'oa3f464f2007-07-04 14:51:18 -0400422 dh_fixperms
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500423ifneq ($(ismips),)
Theodore Ts'o30f142e2008-07-15 11:38:33 -0400424 dh_strip -k -Xlib64ext2fs-nopic.a
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500425else
Theodore Ts'ofbcb3a82008-07-07 09:43:26 -0400426 dh_strip -k
Theodore Ts'ob1e22d52005-12-29 09:16:00 -0500427endif
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000428
Theodore Ts'ofbcb3a82008-07-07 09:43:26 -0400429 # debug package stuff
430 rm -rf ${udebdir}/usr
431 rm -rf ${blkidudebdir}/usr
432 rm -rf ${uuidudebdir}/usr
433
434 mkdir -p ${debugdir}/usr/lib
435 mv ${maindir}/usr/lib/debug ${debugdir}/usr/lib
436 rm -rf ${maindir}/usr/lib/debug
437 mv ${e2fsckstaticdir}/usr/lib/debug/sbin/* \
438 ${debugdir}/usr/lib/debug
439 rm -rf ${e2fsckstaticdir}/usr/lib
440
441 mkdir -p ${uuidruntimedbgdir}/usr/lib
442 mv ${uuidruntimedir}/usr/lib/debug ${uuidruntimedbgdir}/usr/lib
443 rmdir ${uuidruntimedir}/usr/lib
444
445 mkdir -p ${libext2dbgdir}/usr/lib
446 mv ${libext2dir}/usr/lib/debug ${libext2dbgdir}/usr/lib
447 rmdir ${libext2dir}/usr/lib
448
449 mkdir -p ${libcomerrdbgdir}/usr/lib
450 mv ${libcomerrdir}/usr/lib/debug ${libcomerrdbgdir}/usr/lib
451 rmdir ${libcomerrdir}/usr/lib
452
453 mkdir -p ${libssdbgdir}/usr/lib
454 mv ${libssdir}/usr/lib/debug ${libssdbgdir}/usr/lib
455 rmdir ${libssdir}/usr/lib
456
457 mkdir -p ${libuuiddbgdir}/usr/lib
458 mv ${libuuiddir}/usr/lib/debug ${libuuiddbgdir}/usr/lib
459 rmdir ${libuuiddir}/usr/lib
460
461 mkdir -p ${libblkiddbgdir}/usr/lib
462 mv ${libblkiddir}/usr/lib/debug ${libblkiddbgdir}/usr/lib
463 rmdir ${libblkiddir}/usr/lib
464
Theodore Ts'o649bd282008-08-25 00:00:35 -0400465 # dpkg symbol handling
466ifneq (,$(findstring update-symbols,$(DEB_BUILD_OPTIONS)))
467 for i in e2fslibs libcomerr2 libss2 libblkid1 libuuid1; \
468 do \
469 echo "Generating symbols for $$i..."; \
470 dpkg-gensymbols -p$$i -Pdebian/$$i > debian/$$i.tmp-patch; \
471 cat debian/$$i.tmp-patch; \
472 patch debian/$$i.symbols < debian/$$i.tmp-patch; \
473 /bin/rm debian/$$i.tmp-patch; \
474 done
475endif
476
Theodore Ts'ofbcb3a82008-07-07 09:43:26 -0400477 $(INSTALL) -p -m 0644 debian/e2fsprogs.copyright \
478 ${debugdir}/usr/share/doc/e2fsprogs-dbg/copyright
479
480 $(INSTALL) -p -m 0644 debian/uuid-runtime.copyright \
481 ${uuidruntimedbgdir}/usr/share/doc/uuid-runtime-dbg/copyright
482
483 $(INSTALL) -p -m 0644 debian/e2fslibs.copyright \
484 ${libext2dbgdir}/usr/share/doc/e2fslibs-dbg/copyright
485
486 $(INSTALL) -p -m 0644 debian/libcomerr2.copyright \
487 ${libcomerrdbgdir}/usr/share/doc/libcomerr2-dbg/copyright
488
489 $(INSTALL) -p -m 0644 debian/libss2.copyright \
490 ${libssdbgdir}/usr/share/doc/libss2-dbg/copyright
491
492 $(INSTALL) -p -m 0644 debian/libblkid.copyright \
493 ${libblkiddbgdir}/usr/share/doc/libblkid1-dbg/copyright
494
495 $(INSTALL) -p -m 0644 debian/libuuid1.copyright \
496 ${libuuiddbgdir}/usr/share/doc/libuuid1-dbg/copyright
497
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000498 dh_compress
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000499
Theodore Ts'oe254d052003-12-07 01:57:04 -0500500 dh_makeshlibs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400501 dh_makeshlibs -plibcomerr${COMERR_SOVERSION} \
502 -V 'libcomerr2 (>= 1.33-3)'
Theodore Ts'oa1788522007-03-04 08:17:18 -0500503 dh_makeshlibs -plibblkid${BLKID_SOVERSION} -V 'libblkid1 (>= 1.39-1)'
Theodore Ts'o7512f132006-03-29 19:03:38 -0500504 echo "udeb: libblkid 1 libblkid1-udeb" >> \
505 debian/libblkid1/DEBIAN/shlibs
506 echo "udeb: libuuid 1 libuuid1-udeb" >> debian/libuuid1/DEBIAN/shlibs
Theodore Ts'o6fe7d112003-03-16 19:58:25 -0500507
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000508 dh_installdeb
Theodore Ts'o79786212001-06-22 23:05:23 -0400509 dh_shlibdeps -l${stdbuilddir}/lib
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400510 dh_shlibdeps -pe2fsprogs -l${stdbuilddir}/lib \
511 -u"-Ldebian/e2fsprogs.shlibs.local"
Theodore Ts'o7a15db22003-07-29 22:15:33 -0400512 dh_shlibdeps -pe2fsprogs-udeb -l${stdbuilddir}/lib \
513 -u"-Ldebian/e2fsprogs-udeb.shlibs.local"
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000514
Theodore Ts'o151c86a2003-07-25 07:03:00 -0400515 dh_gencontrol -Ncomerr-dev -Nss-dev -Nuuid-dev \
Theodore Ts'oe254d052003-12-07 01:57:04 -0500516 -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000517 DH_OPTIONS= dh_gencontrol -pcomerr-dev \
Theodore Ts'od8a1a672008-01-30 07:20:54 -0500518 -u '-v${COMERR_VERSION}-${MAIN_VERSION} -VmainBinary=${MAIN_VERSION}'
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000519 DH_OPTIONS= dh_gencontrol -pss-dev \
Theodore Ts'od8a1a672008-01-30 07:20:54 -0500520 -u '-v${SS_VERSION}-${MAIN_VERSION} -VmainBinary=${MAIN_VERSION}'
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000521 DH_OPTIONS= dh_gencontrol -puuid-dev \
Theodore Ts'od8a1a672008-01-30 07:20:54 -0500522 -u '-v${UUID_VERSION}-${MAIN_VERSION} -VmainBinary=${MAIN_VERSION}'
Theodore Ts'obf5498c2008-09-04 22:49:15 -0400523 dh_gencontrol -pe2fsprogs-udeb -- -fdebian/files~
524 dh_gencontrol -plibblkid1-udeb -- -fdebian/files~
525 dh_gencontrol -plibuuid1-udeb -- -fdebian/files~
Theodore Ts'ob90b8262001-06-15 22:54:34 +0000526
Theodore Ts'obf5498c2008-09-04 22:49:15 -0400527 dpkg-distaddfile $(UDEB_NAME) debian-installer $(UDEB_PRIORITY)
528 dpkg-distaddfile $(BLKID_UDEB_NAME) debian-installer $(BLKID_UDEB_PRIORITY)
529 dpkg-distaddfile $(UUID_UDEB_NAME) debian-installer $(UUID_UDEB_PRIORITY)
Theodore Ts'oe254d052003-12-07 01:57:04 -0500530 dh_md5sums -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
531 dh_builddeb -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
Theodore Ts'odd198d62002-10-31 03:44:35 -0500532 dh_builddeb -pe2fsprogs-udeb --filename=$(UDEB_NAME)
Theodore Ts'o417781a2003-04-10 00:18:56 -0400533 dh_builddeb -plibblkid1-udeb --filename=$(BLKID_UDEB_NAME)
Theodore Ts'oe254d052003-12-07 01:57:04 -0500534 dh_builddeb -plibuuid1-udeb --filename=$(UUID_UDEB_NAME)
535
Theodore Ts'o4d8f08f2001-05-09 04:51:07 +0000536binary: binary-indep binary-arch
537
538.PHONY: binary binary-arch binary-indep clean checkroot