2000-12-24 15:49:07 -08:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# Sample debian/rules that uses debhelper.
|
|
|
|
# GNU copyright 1997 to 1999 by Joey Hess.
|
|
|
|
|
2001-10-31 13:39:50 -08:00
|
|
|
export DH_COMPAT=3
|
2000-12-24 15:49:07 -08:00
|
|
|
|
2001-10-31 13:39:50 -08:00
|
|
|
INSTALL = /usr/bin/install
|
|
|
|
package = e17
|
2000-12-24 15:49:07 -08:00
|
|
|
pwd:=$(shell pwd)
|
2001-11-11 17:36:45 -08:00
|
|
|
cfg:=--prefix=/usr --datadir=/usr/share/e17
|
2000-12-24 15:49:07 -08:00
|
|
|
INSTALL=/usr/bin/install
|
|
|
|
|
|
|
|
build: build-stamp
|
|
|
|
build-stamp:
|
|
|
|
dh_testdir
|
|
|
|
test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg)
|
2001-10-31 13:39:50 -08:00
|
|
|
$(MAKE)
|
|
|
|
touch $@
|
|
|
|
|
2000-12-24 15:49:07 -08:00
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
rm -f build-stamp
|
|
|
|
-$(MAKE) distclean
|
|
|
|
dh_clean
|
|
|
|
|
|
|
|
install: build
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_clean -k
|
|
|
|
dh_installdirs
|
|
|
|
|
|
|
|
# change enlightenment to e17 to co-exist with e16
|
2001-11-11 17:36:45 -08:00
|
|
|
$(MAKE) install DESTDIR=$(pwd)/debian/e17
|
2000-12-24 15:49:07 -08:00
|
|
|
mv debian/e17/usr/bin/enlightenment debian/e17/usr/bin/e17
|
|
|
|
|
|
|
|
binary-indep: build install
|
|
|
|
|
|
|
|
binary-arch: build install
|
2001-10-31 13:39:50 -08:00
|
|
|
dh_testversion 3
|
2000-12-24 15:49:07 -08:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_installdocs AUTHORS README
|
|
|
|
dh_installchangelogs
|
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_makeshlibs
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
|
|
|
binary: binary-indep binary-arch
|
|
|
|
.PHONY: build clean binary-indep binary-arch binary install
|