Name make
Description utility for directing compilation
Version 4.3-4.1build2
Package Base make-dfsg
Homepage https://www.gnu.org/software/make/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/make-dfsg/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/make/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6']
Optional-Dependencies ['make-doc']
Build-Dependencies ['gettext', 'po-debconf', 'debhelper-compat', 'dh-autoreconf', 'autoconf', 'automake | automaken', 'autopoint', 'file', 'pkg-config', 'guile-3.0-dev <!noguile>', 'procps', 'libbsd-resource-perl <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 1fe6a815b56c7b6e9ce4086a363f09444bbd0a0d30e230c453d0b78e44b57a99
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
package:=make
SRCTOP:= $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
INSTALL = install
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
    INSTALL_PROGRAM += -s
endif
install_file	= $(INSTALL) -p	   -o root -g root  -m	644
install_program = $(INSTALL) -p	   -o root -g root  -m	755
install_script	= $(INSTALL) -p	   -o root -g root  -m	755
make_directory	= $(INSTALL) -p -d -o root -g root  -m	755
PREFIX=/usr
BUILDDIR_NORMAL = $(SRCTOP)/debian/build-make
BUILDDIR_GUILE  = $(SRCTOP)/debian/build-make-guile

DPKG_ARCH := dpkg-architecture
export DEB_HOST_MULTIARCH  := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_MULTIARCH)

export DEB_CFLAGS_APPEND=-Wall

%:
	dh $@ --parallel  --with autoreconf

override_dh_auto_configure:
ifneq (,$(filter make-guile, $(shell dh_listpackages)))
	mkdir -p $(BUILDDIR_GUILE)
	ac_cv_lib_util_getloadavg=no dh_auto_configure --parallel \
           -B$(BUILDDIR_GUILE) -- --prefix=$(PREFIX) $(confflags) \
              --with-guile
endif
ifneq (,$(filter make, $(shell dh_listpackages)))
	mkdir -p $(BUILDDIR_NORMAL)
	ac_cv_lib_util_getloadavg=no dh_auto_configure --parallel  \
           -B$(BUILDDIR_NORMAL) -- --prefix=$(PREFIX) $(confflags) \
              --with-guile=no
endif

override_dh_auto_build:
ifneq (,$(filter make-guile, $(shell dh_listpackages)))
	dh_auto_build --parallel -B$(BUILDDIR_GUILE)
endif
ifneq (,$(filter make, $(shell dh_listpackages)))
	dh_auto_build --parallel -B$(BUILDDIR_NORMAL)
endif

override_dh_auto_test:
ifneq (,$(filter make-guile, $(shell dh_listpackages)))
	dh_auto_test --parallel -B$(BUILDDIR_GUILE)
endif
ifneq (,$(filter make, $(shell dh_listpackages)))
	dh_auto_test --parallel -B$(BUILDDIR_NORMAL)
endif

override_dh_auto_install:
ifneq (,$(filter make-guile, $(shell dh_listpackages)))
	dh_auto_install -B$(BUILDDIR_GUILE)  --destdir=debian/make-guile
endif
ifneq (,$(filter make, $(shell dh_listpackages)))
	dh_auto_install -B$(BUILDDIR_NORMAL) --destdir=debian/make
endif

#Local variables:
#mode: makefile
#End: