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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
#!/usr/bin/make -f
# Must be compiled with gcc-3.2 on ia64 as previous versions
# won't correctly inline some functions, resulting in a link failure
#
CPU := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
# tell gconf not to register schemas at package build time
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
build:
dh_testdir
./configure --prefix=/usr --sysconfdir=/etc --enable-hamlib
$(MAKE)
touch build
clean:
dh_testdir
-$(MAKE) distclean
-rm build
dh_clean
binary-indep: build
# nothing else to do
binary-arch: build
dh_clean
dh_installdirs
$(MAKE) install DESTDIR=`pwd`/debian/gmfsk
cp debian/gmfsk.desktop debian/gmfsk/usr/share/applications
dh_gconf
dh_scrollkeeper
dh_installdocs AUTHORS README
dh_installmenu
dh_installman debian/gmfsk.man
dh_installchangelogs ChangeLog
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_makeshlibs
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
checkroot:
dh_testdir
dh_testroot
.PHONY: binary binary-arch binary-indep clean checkroot
|