2008-10-24 19:49:41 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
# Sample debian/rules that uses debhelper.
|
|
|
|
# This file was originally written by Joey Hess and Craig Small.
|
|
|
|
# As a special exception, when this file is copied by dh-make into a
|
|
|
|
# dh-make output file, you may use that output file without restriction.
|
|
|
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
|
2009-06-21 12:50:57 +00:00
|
|
|
build: build-stamp
|
2008-10-24 19:49:41 +00:00
|
|
|
|
2009-06-21 12:50:57 +00:00
|
|
|
build-stamp:
|
2009-06-17 19:33:54 +00:00
|
|
|
dh_testdir
|
2009-10-24 11:40:13 +00:00
|
|
|
$(MAKE)
|
2008-10-24 19:49:41 +00:00
|
|
|
touch $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-10-27 19:27:29 +00:00
|
|
|
rm -f build-stamp config.status man/*.xml
|
2008-10-24 19:49:41 +00:00
|
|
|
[ ! -f Makefile ] || $(MAKE) distclean
|
|
|
|
dh_clean
|
|
|
|
|
2009-06-21 12:50:57 +00:00
|
|
|
install: build
|
2008-10-24 19:49:41 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-06-21 12:50:57 +00:00
|
|
|
dh_clean -k
|
2008-10-24 19:49:41 +00:00
|
|
|
dh_installdirs
|
2009-04-17 11:48:14 +00:00
|
|
|
$(MAKE) DESTDIR=$(CURDIR)/debian/i3status/ install
|
2008-10-24 19:49:41 +00:00
|
|
|
|
2009-06-21 12:50:57 +00:00
|
|
|
# Build architecture-independent files here.
|
2008-10-24 19:49:41 +00:00
|
|
|
binary-indep: build install
|
2009-06-21 12:50:57 +00:00
|
|
|
# We have nothing to do by default.
|
2009-06-17 19:33:54 +00:00
|
|
|
|
2009-06-21 12:50:57 +00:00
|
|
|
# Build architecture-dependent files here.
|
|
|
|
binary-arch: build install
|
2008-10-24 19:49:41 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-06-21 12:50:57 +00:00
|
|
|
dh_installchangelogs
|
|
|
|
dh_installdocs
|
|
|
|
dh_installexamples
|
|
|
|
dh_installman
|
|
|
|
dh_link
|
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
2008-10-24 19:49:41 +00:00
|
|
|
|
|
|
|
binary: binary-indep binary-arch
|
|
|
|
.PHONY: build clean binary-indep binary-arch binary install
|