This commit was manufactured by cvs2svn to create branch 'uc'.
[gnokii.git] / packaging / Debian / rules
diff --git a/packaging/Debian/rules b/packaging/Debian/rules
new file mode 100755 (executable)
index 0000000..b48eee8
--- /dev/null
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+       ./configure --prefix=/usr --with-x
+       make
+
+clean:
+       dh_testdir
+       dh_testroot
+       make clean
+       dh_clean
+
+# Build architecture-independent files here.
+binary-indep:  build
+
+# There are no architecture-independent files to be uploaded
+# generated by this package.  If there were any they would be
+# made here.
+
+binary-arch:   build
+#      dh_testversion
+       dh_testdir
+       dh_testroot
+       dh_installdirs
+       make install prefix=`pwd`/debian/tmp/usr
+       mkdir -p `pwd`/debian/tmp/etc/
+       sed 's#/usr/local/sbin/#/usr/sbin/#' < Docs/sample/gnokiirc > `pwd`/debian/tmp/etc/gnokiirc
+#      dh_installdebconf       
+#      dh_installexamples
+       dh_installdocs
+       dh_installmenu
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installinit
+#      dh_installcron
+#      dh_installmanpages
+       dh_installinfo
+#      dh_undocumented
+       dh_installchangelogs
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       # You may want to make some executables suid here.
+       dh_suidregister
+#      dh_makeshlibs
+       dh_installdeb
+#      dh_perl
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+
+source diff:
+       @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
+