PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/debian/rules

#
Makefile | 76 lines | 48 code | 11 blank | 17 comment | 0 complexity | 7e735e36e04dbc55b069b197d587c3ac MD5 | raw file
 1#!/usr/bin/make -f
 2# Sample debian/rules that uses debhelper.
 3# GNU copyright 1997 to 1999 by Joey Hess.
 4
 5# Uncomment this to turn on verbose mode.
 6export DH_VERBOSE=1
 7
 8# This is the debhelper compatability version to use.
 9export DH_COMPAT=3
10
11configure: configure-stamp
12configure-stamp:
13	dh_testdir
14	./autogen-debian.sh
15	./configure --prefix=/usr --mandir=/usr/share/man --with-swiglibdir=/usr/share/swig1.3 --program-suffix=-1.3
16	touch configure-stamp
17
18build: configure-stamp build-stamp
19build-stamp:
20	dh_testdir
21	$(MAKE) 
22	$(MAKE) runtime
23	touch build-stamp
24
25clean:
26	dh_testdir
27	dh_testroot
28	rm -f build-stamp configure-stamp
29
30	-$(MAKE) clean
31
32	dh_clean
33
34install: build
35	dh_testdir
36	dh_testroot
37	dh_clean -k
38	dh_installdirs
39	$(MAKE) install DESTDIR=$(CURDIR)/debian/swig1.3
40
41# Build architecture-independent files here.
42binary-indep: build install
43# We have nothing to do by default.
44
45# Build architecture-dependent files here.
46binary-arch: build install
47	dh_testdir
48	dh_testroot
49#	dh_installdebconf	
50	dh_installdocs
51	dh_installexamples
52	dh_installmenu
53#	dh_installlogrotate
54#	dh_installemacsen
55#	dh_installpam
56#	dh_installmime
57#	dh_installinit
58#	dh_installcron
59	dh_installman
60	dh_installinfo
61	dh_undocumented swig-1.3.1
62#	dh_installchangelogs CHANGES
63	dh_link
64	dh_strip
65	dh_compress
66	dh_fixperms
67	dh_makeshlibs
68	dh_installdeb
69#	dh_perl
70	dh_shlibdeps
71	dh_gencontrol
72	dh_md5sums
73	dh_builddeb
74
75binary: binary-indep binary-arch
76.PHONY: build clean binary-indep binary-arch binary install configure