Skip to content
Snippets Groups Projects
rules 972 B
Newer Older
Kevin Rosenberg's avatar
Kevin Rosenberg committed
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
Kevin Rosenberg's avatar
Kevin Rosenberg committed

build: build-stamp
build-stamp:
Kevin Rosenberg's avatar
Kevin Rosenberg committed
	dh_testdir
	ln -sf build/asdf.lisp .
Kevin Rosenberg's avatar
Kevin Rosenberg committed
	touch build-stamp

build-arch:
build-indep: build

Kevin Rosenberg's avatar
Kevin Rosenberg committed
clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	make -C doc veryclean
Kevin Rosenberg's avatar
Kevin Rosenberg committed
	dh_clean

# Build architecture-dependent files here.
binary-arch: build
Kevin Rosenberg's avatar
Kevin Rosenberg committed
# We have nothing to do by default.

# Build architecture-independent files here.
binary-indep: build
Peter Van Eynde's avatar
Peter Van Eynde committed
	dh_testdir -i
	dh_testroot -i
Peter Van Eynde's avatar
Peter Van Eynde committed
	dh_prep -i
Peter Van Eynde's avatar
Peter Van Eynde committed
	dh_installdirs -i
	dh_install -i
Peter Van Eynde's avatar
Peter Van Eynde committed
	dh_installdocs -i
Peter Van Eynde's avatar
Peter Van Eynde committed
	dh_installexamples -i
	dh_installchangelogs
Peter Van Eynde's avatar
Peter Van Eynde committed
	dh_link --verbose -i
	dh_strip -i
	dh_compress -i
	dh_fixperms -i
	dh_installdeb -i
	dh_shlibdeps -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i
source diff:
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

Kevin Rosenberg's avatar
Kevin Rosenberg committed
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary