Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 1 | #! /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 |
| 11 | export LC_ALL=C |
| 12 | |
Theodore Ts'o | f85cc2a | 2003-07-26 00:48:08 -0400 | [diff] [blame] | 13 | # These are used for cross-compiling and for saving the configure script |
| 14 | # from having to guess our platform (since we know it already) |
| 15 | DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) |
| 16 | DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) |
| 17 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
| 18 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 19 | |
| 20 | # find the version for the main package, from changelog file |
Theodore Ts'o | 56eb4d4 | 2004-09-17 19:54:22 -0400 | [diff] [blame] | 21 | MAIN_VERSION = $(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g') |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 22 | # find versions for libraries going into their own packages, from their Makefile.in's, |
| 23 | # and sonames for all libs |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 24 | COMERR_VERSION = $(shell grep ELF_VERSION lib/et/Makefile.in | cut '-d ' -f3) |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 25 | COMERR_SOVERSION = $(shell grep ELF_SO_VERSION lib/et/Makefile.in | cut '-d ' -f3) |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 26 | SS_VERSION = $(shell grep ELF_VERSION lib/ss/Makefile.in | cut '-d ' -f3) |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 27 | SS_SOVERSION = $(shell grep ELF_SO_VERSION lib/ss/Makefile.in | cut '-d ' -f3) |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 28 | UUID_VERSION = $(shell grep ELF_VERSION lib/uuid/Makefile.in | cut '-d ' -f3) |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 29 | UUID_SOVERSION = $(shell grep ELF_SO_VERSION lib/uuid/Makefile.in | cut '-d ' -f3) |
Theodore Ts'o | 6fe7d11 | 2003-03-16 19:58:25 -0500 | [diff] [blame] | 30 | BLKID_VERSION = $(shell grep ELF_VERSION lib/blkid/Makefile.in | cut '-d ' -f3) |
| 31 | BLKID_SOVERSION = $(shell grep ELF_SO_VERSION lib/blkid/Makefile.in | cut '-d ' -f3) |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 32 | EXT2FS_SOVERSION = $(shell grep ELF_SO_VERSION lib/ext2fs/Makefile.in | cut '-d ' -f3) |
| 33 | E2P_SOVERSION = $(shell grep ELF_SO_VERSION lib/e2p/Makefile.in | cut '-d ' -f3) |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 34 | |
| 35 | package=e2fsprogs |
| 36 | |
| 37 | topdir=$(shell pwd) |
| 38 | debdir=${topdir}/debian |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 39 | tmpdir=${debdir}/tmp |
Theodore Ts'o | dd198d6 | 2002-10-31 03:44:35 -0500 | [diff] [blame] | 40 | udebdir=${debdir}/e2fsprogs-udeb |
Theodore Ts'o | 417781a | 2003-04-10 00:18:56 -0400 | [diff] [blame] | 41 | blkidudebdir=${debdir}/libblkid1-udeb |
Theodore Ts'o | e254d05 | 2003-12-07 01:57:04 -0500 | [diff] [blame] | 42 | uuidudebdir=${debdir}/libuuid1-udeb |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 43 | maindir=${debdir}/e2fsprogs |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 44 | stdbuilddir=${debdir}/BUILD-STD |
| 45 | bfbuilddir=${debdir}/BUILD-BF |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 46 | mipsbuilddir=${debdir}/BUILD-MIPS |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 47 | mipsbuilddir64=${debdir}/BUILD-MIPS-64 |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 48 | # docdir=${maindir}/usr/share/doc/${package} |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 49 | MANDIR=/usr/share/man |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 50 | mandir=${tmpdir}${MANDIR} |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 51 | |
Theodore Ts'o | dd198d6 | 2002-10-31 03:44:35 -0500 | [diff] [blame] | 52 | UDEB_NAME = $(package)-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb |
| 53 | UDEB_PRIORITY = $(shell grep '^Package: e2fsprogs-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2) |
| 54 | |
Theodore Ts'o | 417781a | 2003-04-10 00:18:56 -0400 | [diff] [blame] | 55 | BLKID_UDEB_NAME = libblkid1-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb |
| 56 | BLKID_UDEB_PRIORITY = $(shell grep '^Package: libblkid1-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2) |
| 57 | |
Theodore Ts'o | e254d05 | 2003-12-07 01:57:04 -0500 | [diff] [blame] | 58 | UUID_UDEB_NAME = libuuid1-udeb_$(MAIN_VERSION)_$(DEB_HOST_ARCH).udeb |
| 59 | UUID_UDEB_PRIORITY = $(shell grep '^Package: libuuid1-udeb' debian/control -A 10 | grep ^Priority: | cut -d ' ' -f 2) |
| 60 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 61 | STAMPSDIR=debian/stampdir |
| 62 | CFGSTDSTAMP=${STAMPSDIR}/configure-std-stamp |
| 63 | CFGBFSTAMP=${STAMPSDIR}/configure-bf-stamp |
| 64 | BUILDSTDSTAMP=${STAMPSDIR}/build-std-stamp |
| 65 | BUILDBFSTAMP=${STAMPSDIR}/build-bf-stamp |
| 66 | |
Theodore Ts'o | f77704e | 2006-11-11 22:32:35 -0500 | [diff] [blame^] | 67 | CCOPTS = -g |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 68 | |
Theodore Ts'o | 1893e71 | 2001-05-21 02:48:41 +0000 | [diff] [blame] | 69 | INSTALL = install |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 70 | INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 0755 |
Theodore Ts'o | 1893e71 | 2001-05-21 02:48:41 +0000 | [diff] [blame] | 71 | |
Theodore Ts'o | 1d658a1 | 2003-08-21 01:53:07 -0400 | [diff] [blame] | 72 | ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
| 73 | CCOPTS += -O2 |
Theodore Ts'o | 1893e71 | 2001-05-21 02:48:41 +0000 | [diff] [blame] | 74 | endif |
| 75 | ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) |
| 76 | INSTALL_PROGRAM += -s |
| 77 | endif |
| 78 | |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 79 | ifeq (${DEB_HOST_ARCH},alpha) |
| 80 | CCOPTS += -DHAVE_NETINET_IN_H |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 81 | else |
| 82 | CCOPTS += -D__NO_STRING_INLINES |
| 83 | endif |
| 84 | |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 85 | BF_CCOPTS = -Os -fomit-frame-pointer |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 86 | |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 87 | COMMON_CONF_FLAGS = \ |
Theodore Ts'o | 921f4ad | 2004-11-19 17:25:27 -0500 | [diff] [blame] | 88 | --enable-elf-shlibs --enable-dynamic-e2fsck \ |
Theodore Ts'o | 35b73e9 | 2004-09-19 07:52:05 -0400 | [diff] [blame] | 89 | --infodir=/usr/share/info --enable-fsck |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 90 | |
Theodore Ts'o | d2d0d79 | 2006-03-08 17:42:40 -0500 | [diff] [blame] | 91 | STD_CONF_FLAGS = --with-ccopts="${CCOPTS}" --enable-compression \ |
| 92 | --enable-blkid-devmapper |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 93 | |
| 94 | BF_CONF_FLAGS = --with-ccopts="${CCOPTS} ${BF_CCOPTS}" \ |
Theodore Ts'o | 62775dc | 2003-05-08 10:39:50 -0400 | [diff] [blame] | 95 | --disable-nls --disable-swapfs --disable-imager \ |
Theodore Ts'o | 8a8a12c | 2005-12-10 22:56:21 -0500 | [diff] [blame] | 96 | --disable-debugfs --disable-e2initrd-helper |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 97 | |
Theodore Ts'o | 2a4c77b | 2002-09-24 01:30:00 -0400 | [diff] [blame] | 98 | MIPS_NOPIC_CONF_FLAGS = --with-ccopts="${CCOPTS}" \ |
| 99 | --disable-nls \ |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 100 | --disable-swapfs --disable-imager \ |
Theodore Ts'o | dd198d6 | 2002-10-31 03:44:35 -0500 | [diff] [blame] | 101 | --disable-resizer # --disable-debugfs |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 102 | |
Theodore Ts'o | 2a4c77b | 2002-09-24 01:30:00 -0400 | [diff] [blame] | 103 | # we can't use those flags at configure time |
| 104 | MIPS_CFLAGS= -G 0 -fno-pic -mno-abicalls |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 105 | MIPS_CFLAGS_64= -mabi=64 -G 0 -fno-pic -mno-abicalls |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 106 | |
| 107 | ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) |
| 108 | ifneq (,$(findstring $(DEB_BUILD_ARCH),mips mipsel)) |
| 109 | ismips=ismips |
| 110 | endif |
| 111 | endif |
| 112 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 113 | ${CFGSTDSTAMP}: |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 114 | dh_testdir |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 115 | |
Theodore Ts'o | 41b6ae6 | 2004-09-24 10:07:05 -0400 | [diff] [blame] | 116 | # Make sure we don't try to rebuild the configure scripts |
| 117 | find . -name configure | xargs touch |
| 118 | |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 119 | mkdir -p ${stdbuilddir} |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 120 | ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) |
Theodore Ts'o | be5a72d | 2005-03-17 01:16:34 -0500 | [diff] [blame] | 121 | cd ${stdbuilddir} && AWK=/usr/bin/awk \ |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 122 | ${topdir}/configure ${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS} |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 123 | else |
Theodore Ts'o | be5a72d | 2005-03-17 01:16:34 -0500 | [diff] [blame] | 124 | cd ${stdbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \ |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 125 | ${topdir}/configure ${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS} \ |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 126 | --build=$(DEB_BUILD_GNU_TYPE) $(DEB_HOST_GNU_TYPE) |
| 127 | endif |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 128 | |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 129 | # specially-built MIPS libs |
| 130 | ifneq ($(ismips),) |
| 131 | mkdir -p ${mipsbuilddir} ${mipsbuilddir64} |
| 132 | cd ${mipsbuilddir} && AWK=/usr/bin/awk \ |
| 133 | ${topdir}/configure ${MIPS_NOPIC_CONF_FLAGS} |
| 134 | cd ${mipsbuilddir64} && AWK=/usr/bin/awk \ |
| 135 | ${topdir}/configure ${MIPS_NOPIC_CONF_FLAGS} |
| 136 | endif |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 137 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 138 | mkdir -p ${STAMPSDIR} |
| 139 | touch ${CFGSTDSTAMP} |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 140 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 141 | ${CFGBFSTAMP}: |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 142 | dh_testdir |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 143 | rm -f config.cache |
| 144 | |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 145 | mkdir -p ${bfbuilddir} |
| 146 | ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) |
Theodore Ts'o | be5a72d | 2005-03-17 01:16:34 -0500 | [diff] [blame] | 147 | cd ${bfbuilddir} && AWK=/usr/bin/awk \ |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 148 | ${topdir}/configure ${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS} |
| 149 | else |
Theodore Ts'o | be5a72d | 2005-03-17 01:16:34 -0500 | [diff] [blame] | 150 | cd ${bfbuilddir} && AWK=/usr/bin/awk CC="${DEB_HOST_GNU_TYPE}-gcc" \ |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 151 | ${topdir}/configure ${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS} \ |
| 152 | --build=$(DEB_BUILD_GNU_TYPE) $(DEB_HOST_GNU_TYPE) |
| 153 | endif |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 154 | mkdir -p ${STAMPSDIR} |
| 155 | touch ${CFGBFSTAMP} |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 156 | |
| 157 | build: build-std build-bf |
| 158 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 159 | build-std: ${BUILDSTDSTAMP} |
| 160 | ${BUILDSTDSTAMP}: ${CFGSTDSTAMP} |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 161 | dh_testdir |
| 162 | make -C ${stdbuilddir} all |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 163 | |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 164 | ( cd ${stdbuilddir}/doc && \ |
| 165 | texi2html -split_chapter ${topdir}/doc/libext2fs.texinfo ) |
| 166 | ( cd ${stdbuilddir}/lib/et && make com_err.info && \ |
| 167 | texi2html -split_chapter -expandinfo ${topdir}/lib/et/com_err.texinfo ) |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 168 | |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 169 | # specially-built MIPS libs |
| 170 | ifneq ($(ismips),) |
| 171 | make -C ${mipsbuilddir}/util |
| 172 | make -C ${mipsbuilddir} \ |
| 173 | CFLAGS="${CCOPTS} ${MIPS_CFLAGS}" \ |
| 174 | LIB_SUBDIRS="lib/et lib/ext2fs" libs |
| 175 | make -C ${mipsbuilddir64}/util |
| 176 | make -C ${mipsbuilddir64} \ |
| 177 | CFLAGS="${CCOPTS} ${MIPS_CFLAGS_64}" \ |
| 178 | LIB_SUBDIRS="lib/et lib/ext2fs" libs |
| 179 | endif |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 180 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 181 | touch ${BUILDSTDSTAMP} |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 182 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 183 | build-bf: ${BUILDBFSTAMP} |
| 184 | ${BUILDBFSTAMP}: ${CFGBFSTAMP} |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 185 | dh_testdir |
Theodore Ts'o | 62775dc | 2003-05-08 10:39:50 -0400 | [diff] [blame] | 186 | make -C ${bfbuilddir} libs |
| 187 | make -C ${bfbuilddir}/e2fsck all |
| 188 | make -C ${bfbuilddir}/misc all |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 189 | touch ${BUILDBFSTAMP} |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 190 | |
| 191 | clean: |
| 192 | dh_testdir |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 193 | rm -rf ${STAMPSDIR} |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 194 | -make -C ${stdbuilddir} -i distclean |
| 195 | -make -C ${bfbuilddir} -i distclean |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 196 | rm -rf ${stdbuilddir} ${bfbuilddir} ${mipsbuilddir} ${mipsbuilddir64} |
Theodore Ts'o | 8c5829f | 2005-07-21 19:32:36 -0500 | [diff] [blame] | 197 | rm -f doc/libext2fs/*.html lib/et/com_err/*.html debian/*.substvars |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 198 | dh_clean |
| 199 | |
Theodore Ts'o | 62775dc | 2003-05-08 10:39:50 -0400 | [diff] [blame] | 200 | install: cleanup install-std |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 201 | |
| 202 | # This rule allows to factorize the dh_clean between the 2 install rules |
| 203 | # This must be launched before install-* (if launching them by hand, for |
| 204 | # exemple) or results are unpredictable |
| 205 | cleanup: |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 206 | dh_testdir |
| 207 | dh_testroot |
| 208 | dh_clean -k |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 209 | |
| 210 | install-std: DH_OPTIONS= |
| 211 | install-std: build |
| 212 | dh_testdir |
| 213 | dh_testroot |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 214 | dh_installdirs |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 215 | |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 216 | mkdir -p ${tmpdir}/sbin |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 217 | make -C ${stdbuilddir} install DESTDIR=${tmpdir} \ |
| 218 | INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true |
| 219 | # static libs and .h files |
| 220 | make -C ${stdbuilddir} install-libs DESTDIR=${tmpdir} LDCONFIG=true |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 221 | |
Theodore Ts'o | 1893e71 | 2001-05-21 02:48:41 +0000 | [diff] [blame] | 222 | # statically-linked fsck |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 223 | ${INSTALL_PROGRAM} ${stdbuilddir}/e2fsck/e2fsck.static ${tmpdir}/sbin |
Theodore Ts'o | ec3bb41 | 2006-10-04 09:12:35 -0400 | [diff] [blame] | 224 | cp ${mandir}/man8/e2fsck.8 ${mandir}/man8/e2fsck.static.8 |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 225 | |
Theodore Ts'o | 020c547 | 2003-04-10 00:01:19 -0400 | [diff] [blame] | 226 | ln -s et/com_err.h ${tmpdir}/usr/include |
| 227 | |
Theodore Ts'o | 2a4c77b | 2002-09-24 01:30:00 -0400 | [diff] [blame] | 228 | dh_movefiles |
| 229 | test -z `find ${tmpdir} -type f` |
| 230 | |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 231 | # specially-built MIPS libs |
| 232 | ifneq ($(ismips),) |
| 233 | $(INSTALL) -p -m 0644 ${mipsbuilddir}/lib/libext2fs.a \ |
| 234 | ${debdir}/e2fslibs-dev/usr/lib/libext2fs-nopic.a |
| 235 | $(INSTALL) -p -m 0644 ${mipsbuilddir64}/lib/libext2fs.a \ |
| 236 | ${debdir}/e2fslibs-dev/usr/lib/lib64ext2fs-nopic.a |
| 237 | endif |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 238 | |
Theodore Ts'o | 62775dc | 2003-05-08 10:39:50 -0400 | [diff] [blame] | 239 | install-udeb: DH_OPTIONS= |
| 240 | install-udeb: build |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 241 | dh_testdir |
| 242 | dh_testroot |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 243 | |
Theodore Ts'o | 62775dc | 2003-05-08 10:39:50 -0400 | [diff] [blame] | 244 | make -C ${bfbuilddir} install-shlibs-libs-recursive DESTDIR=${udebdir} \ |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 245 | INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true |
Theodore Ts'o | 62775dc | 2003-05-08 10:39:50 -0400 | [diff] [blame] | 246 | make -C ${bfbuilddir}/e2fsck install DESTDIR=${udebdir} \ |
| 247 | INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true |
| 248 | make -C ${bfbuilddir}/misc install DESTDIR=${udebdir} \ |
| 249 | INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true |
Theodore Ts'o | 8a8a12c | 2005-12-10 22:56:21 -0500 | [diff] [blame] | 250 | make -C ${bfbuilddir}/resize install DESTDIR=${udebdir} \ |
| 251 | INSTALL_PROGRAM="${INSTALL_PROGRAM}" LDCONFIG=true |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 252 | |
Theodore Ts'o | 62775dc | 2003-05-08 10:39:50 -0400 | [diff] [blame] | 253 | rm -rf ${udebdir}/usr |
Theodore Ts'o | e3075ae | 2003-07-12 16:28:09 -0400 | [diff] [blame] | 254 | find ${udebdir}/sbin -type f -a ! -name e2fsck \ |
Theodore Ts'o | 8a8a12c | 2005-12-10 22:56:21 -0500 | [diff] [blame] | 255 | -a ! -name mke2fs -a ! -name tune2fs \ |
| 256 | -a ! -name resize2fs -a ! -name badblocks -print | xargs rm |
Theodore Ts'o | e3075ae | 2003-07-12 16:28:09 -0400 | [diff] [blame] | 257 | |
| 258 | (cd ${udebdir}/sbin; ln -s e2fsck fsck.ext2 ; \ |
| 259 | ln -s e2fsck fsck.ext3 ; ln -s mke2fs mkfs.ext2 ; \ |
| 260 | ln -s mke2fs mkfs.ext3) |
Theodore Ts'o | 2a4c77b | 2002-09-24 01:30:00 -0400 | [diff] [blame] | 261 | |
Theodore Ts'o | 417781a | 2003-04-10 00:18:56 -0400 | [diff] [blame] | 262 | mkdir -p ${blkidudebdir}/lib |
| 263 | mv ${udebdir}/lib/libblkid.* ${blkidudebdir}/lib |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 264 | |
Theodore Ts'o | e254d05 | 2003-12-07 01:57:04 -0500 | [diff] [blame] | 265 | mkdir -p ${uuidudebdir}/lib |
| 266 | mv ${udebdir}/lib/libuuid.* ${uuidudebdir}/lib |
| 267 | |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 268 | binary-indep: |
| 269 | # no arch-independant debs. |
| 270 | |
| 271 | binary-arch: DH_OPTIONS= -a |
Theodore Ts'o | dd198d6 | 2002-10-31 03:44:35 -0500 | [diff] [blame] | 272 | binary-arch: install install-udeb |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 273 | dh_testdir |
| 274 | dh_testroot |
| 275 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 276 | # lintian overrides |
| 277 | for i in $$(cd debian && echo *.lintian-overrides); do \ |
| 278 | pkg=$${i%.lintian-overrides} ;\ |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 279 | $(INSTALL) -m 0644 -D -p debian/$$i ${debdir}/$${pkg}/usr/share/lintian/overrides/$${pkg} ;\ |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 280 | done |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 281 | |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 282 | # mkinitrd script |
Theodore Ts'o | 1d658a1 | 2003-08-21 01:53:07 -0400 | [diff] [blame] | 283 | mkdir -p debian/e2fsprogs/usr/share/initrd-tools/scripts |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 284 | $(INSTALL) -p -o root -g root -m 0755 debian/initrd-tools.e2fsprogs \ |
Theodore Ts'o | e2de6b9 | 2004-04-11 16:25:56 -0400 | [diff] [blame] | 285 | debian/e2fsprogs/usr/share/initrd-tools/scripts/e2fsprogs |
| 286 | |
| 287 | # initrd script |
| 288 | mkdir -p debian/e2fsprogs/usr/share/e2fsprogs |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 289 | $(INSTALL) -p -o root -g root -m 0755 debian/initrd.ext3-add-journal \ |
Theodore Ts'o | e2de6b9 | 2004-04-11 16:25:56 -0400 | [diff] [blame] | 290 | debian/e2fsprogs/usr/share/e2fsprogs/initrd.ext3-add-journal |
| 291 | |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 292 | |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 293 | # symlinks to prepare dh_installdocs run |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 294 | |
Theodore Ts'o | 6fe7d11 | 2003-03-16 19:58:25 -0500 | [diff] [blame] | 295 | mkdir -p ${debdir}/libblkid${BLKID_SOVERSION}/usr/share/doc/libblkid${BLKID_SOVERSION} |
| 296 | mkdir -p ${debdir}/libblkid-dev/usr/share/doc |
| 297 | ln -sf libblkid${BLKID_SOVERSION} ${debdir}/libblkid-dev/usr/share/doc/libblkid-dev |
| 298 | |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 299 | mkdir -p ${debdir}/libss${SS_SOVERSION}/usr/share/doc/libss${SS_SOVERSION} |
| 300 | mkdir -p ${debdir}/ss-dev/usr/share/doc |
| 301 | ln -sf libss${SS_SOVERSION} ${debdir}/ss-dev/usr/share/doc/ss-dev |
| 302 | |
| 303 | mkdir -p ${debdir}/libcomerr${COMERR_SOVERSION}/usr/share/doc/libcomerr${COMERR_SOVERSION} |
| 304 | mkdir -p ${debdir}/comerr-dev/usr/share/doc |
| 305 | ln -sf libcomerr${COMERR_SOVERSION} ${debdir}/comerr-dev/usr/share/doc/comerr-dev |
| 306 | |
| 307 | mkdir -p ${debdir}/libuuid${UUID_SOVERSION}/usr/share/doc/libuuid${UUID_SOVERSION} |
| 308 | mkdir -p ${debdir}/uuid-dev/usr/share/doc |
Theodore Ts'o | ec3bb41 | 2006-10-04 09:12:35 -0400 | [diff] [blame] | 309 | # ln -sf libuuid${UUID_SOVERSION} ${debdir}/uuid-dev/usr/share/doc/uuid-dev |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 310 | |
| 311 | mkdir -p ${debdir}/e2fslibs/usr/share/doc/e2fslibs |
| 312 | mkdir -p ${debdir}/e2fslibs-dev/usr/share/doc |
| 313 | ln -sf e2fslibs ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs-dev |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 314 | |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 315 | $(INSTALL) -p -m 0644 debian/libblkid.copyright \ |
Theodore Ts'o | 6fe7d11 | 2003-03-16 19:58:25 -0500 | [diff] [blame] | 316 | ${debdir}/libblkid${BLKID_SOVERSION}/usr/share/doc/libblkid${BLKID_SOVERSION}/copyright |
| 317 | |
Theodore Ts'o | e254d05 | 2003-12-07 01:57:04 -0500 | [diff] [blame] | 318 | dh_installdocs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 319 | |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 320 | # HTML docs |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 321 | $(INSTALL) -d ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/html-info/ |
| 322 | $(INSTALL) -p -m 0644 ${stdbuilddir}/doc/libext2fs/*.html \ |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 323 | ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/html-info/ |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 324 | $(INSTALL) -d ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/html-info/ |
| 325 | $(INSTALL) -p -m 0644 ${stdbuilddir}/lib/et/com_err/*.html \ |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 326 | ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/html-info/ |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 327 | |
| 328 | # texinfo docs |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 329 | mkdir -p ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION} |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 330 | $(INSTALL) -p -m 0644 ${topdir}/doc/libext2fs.texinfo \ |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 331 | ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/libext2fs.texi |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 332 | $(INSTALL) -p -m 0644 ${topdir}/lib/et/com_err.texinfo \ |
Theodore Ts'o | e5b1643 | 2002-08-17 21:11:29 -0400 | [diff] [blame] | 333 | ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/com_err.texi |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 334 | |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 335 | $(INSTALL) -d ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/examples |
| 336 | $(INSTALL) -p -m 0644 lib/ss/ss_err.et \ |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 337 | ${stdbuilddir}/lib/ext2fs/ext2_err.et \ |
| 338 | ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/examples |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 339 | $(INSTALL) -d ${debdir}/ss-dev/usr/share/doc/libss${SS_SOVERSION}/examples |
| 340 | $(INSTALL) -p -m 0644 debugfs/debug_cmds.ct \ |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 341 | ${debdir}/ss-dev/usr/share/doc/libss${SS_SOVERSION}/examples |
| 342 | |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 343 | $(INSTALL) -d ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION} |
Theodore Ts'o | bfc1a74 | 2006-10-02 13:31:10 -0400 | [diff] [blame] | 344 | if test -f /etc/lsb-release && \ |
| 345 | grep -q DISTRIB_ID=Ubuntu /etc/lsb-release; then \ |
| 346 | $(INSTALL) -p -m 0644 doc/draft-leach-uuids-guids-01.txt \ |
| 347 | ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION}; \ |
| 348 | fi |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 349 | |
Theodore Ts'o | 541d173 | 2002-02-23 21:23:26 -0500 | [diff] [blame] | 350 | dh_installinfo -pcomerr-dev ${stdbuilddir}/lib/et/com_err.info |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 351 | dh_installinfo -pe2fslibs-dev ${stdbuilddir}/doc/libext2fs.info |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 352 | |
Theodore Ts'o | ec3bb41 | 2006-10-04 09:12:35 -0400 | [diff] [blame] | 353 | DH_OPTIONS= dh_installchangelogs -pe2fsprogs \ |
| 354 | -plibblkid${BLKID_SOVERSION} -plibcomerr${COMERR_SOVERSION} \ |
| 355 | -plibss${SS_SOVERSION} -plibuuid${UUID_SOVERSION} \ |
| 356 | -pe2fslibs -puuid-dev -pe2fsck-static |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 357 | |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 358 | ifneq ($(ismips),) |
| 359 | dh_strip -Xlib64ext2fs-nopic.a |
| 360 | else |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 361 | dh_strip |
Theodore Ts'o | b1e22d5 | 2005-12-29 09:16:00 -0500 | [diff] [blame] | 362 | endif |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 363 | |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 364 | dh_compress |
| 365 | dh_fixperms |
| 366 | |
Theodore Ts'o | e254d05 | 2003-12-07 01:57:04 -0500 | [diff] [blame] | 367 | dh_makeshlibs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 368 | dh_makeshlibs -plibcomerr${COMERR_SOVERSION} \ |
| 369 | -V 'libcomerr2 (>= 1.33-3)' |
Theodore Ts'o | 7512f13 | 2006-03-29 19:03:38 -0500 | [diff] [blame] | 370 | echo "udeb: libblkid 1 libblkid1-udeb" >> \ |
| 371 | debian/libblkid1/DEBIAN/shlibs |
| 372 | echo "udeb: libuuid 1 libuuid1-udeb" >> debian/libuuid1/DEBIAN/shlibs |
Theodore Ts'o | 6fe7d11 | 2003-03-16 19:58:25 -0500 | [diff] [blame] | 373 | |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 374 | dh_installdeb |
Theodore Ts'o | a001028 | 2006-03-30 01:03:17 -0500 | [diff] [blame] | 375 | rm debian/e2fsprogs-udeb/DEBIAN/conffiles |
Theodore Ts'o | 7978621 | 2001-06-22 23:05:23 -0400 | [diff] [blame] | 376 | dh_shlibdeps -l${stdbuilddir}/lib |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 377 | dh_shlibdeps -pe2fsprogs -l${stdbuilddir}/lib \ |
| 378 | -u"-Ldebian/e2fsprogs.shlibs.local" |
Theodore Ts'o | 7a15db2 | 2003-07-29 22:15:33 -0400 | [diff] [blame] | 379 | dh_shlibdeps -pe2fsprogs-udeb -l${stdbuilddir}/lib \ |
| 380 | -u"-Ldebian/e2fsprogs-udeb.shlibs.local" |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 381 | |
Theodore Ts'o | 151c86a | 2003-07-25 07:03:00 -0400 | [diff] [blame] | 382 | dh_gencontrol -Ncomerr-dev -Nss-dev -Nuuid-dev \ |
Theodore Ts'o | e254d05 | 2003-12-07 01:57:04 -0500 | [diff] [blame] | 383 | -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb |
Theodore Ts'o | b90b826 | 2001-06-15 22:54:34 +0000 | [diff] [blame] | 384 | DH_OPTIONS= dh_gencontrol -pcomerr-dev \ |
| 385 | -u '-v${COMERR_VERSION}-${MAIN_VERSION}' |
| 386 | DH_OPTIONS= dh_gencontrol -pss-dev \ |
| 387 | -u '-v${SS_VERSION}-${MAIN_VERSION}' |
| 388 | DH_OPTIONS= dh_gencontrol -puuid-dev \ |
| 389 | -u '-v${UUID_VERSION}-${MAIN_VERSION}' |
| 390 | |
Theodore Ts'o | e254d05 | 2003-12-07 01:57:04 -0500 | [diff] [blame] | 391 | dh_md5sums -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb |
| 392 | dh_builddeb -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb |
Theodore Ts'o | dd198d6 | 2002-10-31 03:44:35 -0500 | [diff] [blame] | 393 | |
| 394 | # udeb stuff |
| 395 | dh_gencontrol -pe2fsprogs-udeb -- -fdebian/files~ |
| 396 | dpkg-distaddfile $(UDEB_NAME) debian-installer $(UDEB_PRIORITY) |
| 397 | dh_builddeb -pe2fsprogs-udeb --filename=$(UDEB_NAME) |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 398 | |
Theodore Ts'o | 417781a | 2003-04-10 00:18:56 -0400 | [diff] [blame] | 399 | dh_gencontrol -plibblkid1-udeb -- -fdebian/files~ |
| 400 | dpkg-distaddfile $(BLKID_UDEB_NAME) debian-installer $(BLKID_UDEB_PRIORITY) |
| 401 | dh_builddeb -plibblkid1-udeb --filename=$(BLKID_UDEB_NAME) |
| 402 | |
Theodore Ts'o | e254d05 | 2003-12-07 01:57:04 -0500 | [diff] [blame] | 403 | dh_gencontrol -plibuuid1-udeb -- -fdebian/files~ |
| 404 | dpkg-distaddfile $(UUID_UDEB_NAME) debian-installer $(UUID_UDEB_PRIORITY) |
| 405 | dh_builddeb -plibuuid1-udeb --filename=$(UUID_UDEB_NAME) |
| 406 | |
Theodore Ts'o | 4d8f08f | 2001-05-09 04:51:07 +0000 | [diff] [blame] | 407 | binary: binary-indep binary-arch |
| 408 | |
| 409 | .PHONY: binary binary-arch binary-indep clean checkroot |