You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

57 lines
1.0 KiB

#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
export DH_COMPAT=2
pwd:=$(shell pwd)
cfg:=--prefix=/usr
INSTALL=/usr/bin/install
package=e17
build: build-stamp
build-stamp:
dh_testdir
test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg)
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
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
$(MAKE) install \
DESTDIR=$(pwd)/debian/e17 \
PACKAGE=e17\
pkgdatadir=/usr/share/e17
mv debian/e17/usr/bin/enlightenment debian/e17/usr/bin/e17
binary-indep: build install
binary-arch: build install
dh_testversion 2.0
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