File: rules

package info (click to toggle)
epplets 0.8.cvs.2005032801-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,452 kB
  • ctags: 2,121
  • sloc: ansic: 21,627; sh: 8,360; makefile: 310
file content (27 lines) | stat: -rwxr-xr-x 1,540 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

export DH_COMPAT=4

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_MAKE_ENVVARS += EBIN=usr/bin
DEB_MAKE_ENVVARS += EROOT=./debian/tmp/usr/share/enlightenment
DEB_CONFIGURE_EXTRA_FLAGS += --enable-fsstd=yes --enable-new-remember
DEB_AUTO_UPDATE_LIBTOOL=pre
DEB_AUTO_UPDATE_ACLOCAL=1.6
DEB_AUTO_UPDATE_AUTOCONF=2.50
DEB_AUTO_UPDATE_AUTOMAKE=1.6

common-install-arch::
	test -f COPYING && test -f debian/copyright-info && test -f epplets/Emix-data/Emix.COPYING && echo "Emix:" | cat debian/copyright-info COPYING - epplets/Emix-data/Emix.COPYING > debian/epplets/usr/share/doc/epplets/copyright || touch debian/epplets/usr/share/doc/epplets/copyright
	echo "The GPL can be found on any Debian system in /usr/share/common-licenses/GPL" >> debian/epplets/usr/share/doc/epplets/copyright

	test -f COPYING && test -f debian/copyright-info && cat debian/copyright-info COPYING > debian/libepplet-dev/usr/share/doc/libepplet-dev/copyright || touch debian/libepplet-dev/usr/share/doc/libepplet-dev/copyright

	# lib package, libepplet0
	test -f COPYING && test -f debian/copyright-info && cat debian/copyright-info COPYING > debian/libepplet0/usr/share/doc/libepplet0/copyright || touch debian/libepplet0/usr/share/doc/libepplet0/copyright

	# Remove stuff we didn't include
	rm -rf debian/tmp/usr/share/enlightenment/epplet_data/Emix/Emix.COPYING
	rm -rf debian/tmp/usr/share/enlightenment/epplet_data/E-OpenGL-Demo
	rm -rf debian/tmp/usr/share/enlightenment/epplet_data/E-PlayCD