]> err.no Git - util-linux/commitdiff
build: fdisk (and therefore the udebs) do not get built on m68k.
authorLaMont Jones <lamont@mmjgroup.com>
Sun, 26 Aug 2007 17:04:38 +0000 (11:04 -0600)
committerLaMont Jones <lamont@mmjgroup.com>
Sun, 26 Aug 2007 17:04:38 +0000 (11:04 -0600)
debian/rules

index 1ff3d5832ab8cbfd0c0e92e8b26714ad2200a517..598ea244831575a3ed161a70d141f0675fecd532 100755 (executable)
@@ -103,8 +103,10 @@ ifneq ($(DISTRO),Debian)
            install -m 644 debian/hwclock.rules debian/util-linux/etc/udev/rules.d/85-hwclock.rules; \
        fi
 endif
-       ln debian/util-linux/sbin/*fdisk debian/fdisk-udeb/usr/sbin
-       mv debian/fdisk-udeb/usr/sbin/cfdisk debian/cfdisk-udeb/usr/sbin
+       cd debian; if [ -f util-linux/bin/fdisk ]; then \
+           ln util-linux/sbin/*fdisk fdisk-udeb/usr/sbin; \
+           mv fdisk-udeb/usr/sbin/cfdisk cfdisk-udeb/usr/sbin; \
+       fi
        cd debian/util-linux-locales && find usr/share/locale -type f | while read x; do ln $$x ../cfdisk-udeb/$$x; done
 ifeq ($(DEB_HOST_ARCH_OS),linux)
 ifeq ($(arch),$(findstring $(arch),powerpc ppc64))