source: subversion/applications/utils/debian/rules @ 30595

Last change on this file since 30595 was 17618, checked in by joerg, 10 years ago

remove ../lib from creation

  • Property svn:executable set to *
File size: 1.6 KB
Line 
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.
9#export DH_COMPAT=5
10
11
12# Get options like
13#       export DEB_BUILD_OPTIONS="parallel=4"
14
15debian_build_options_list:=$(shell echo "$$DEB_BUILD_OPTIONS"|sed 's/[^-_=[:alnum:]]/ /g'|tr a-z- A-Z_)
16$(foreach o, $(debian_build_options_list), $(if $(findstring =,$o),$(eval DEB_BUILD_OPT_$o),$(eval DEB_BUILD_OPT_$o=1)))
17MAKE_-J += $(addprefix -j, $(DEB_BUILD_OPT_PARALLEL))
18
19
20build: build-stamp
21build-stamp:
22        dh_testdir
23
24        # Add here commands to compile the package.
25        # $(MAKE)
26
27        touch build-stamp
28
29clean:
30        dh_testdir
31        dh_testroot
32        rm -f build-stamp
33
34        #-$(MAKE) distclean
35        dh_clean
36
37install: build
38        dh_testdir
39        dh_testroot
40        dh_installdirs
41
42#       ./debian/update_svn_revision.sh
43        MAKE_J=$(MAKE_-J) /bin/bash ./debian/make_install_files.sh debian/openstreetmap-utils
44
45# Build architecture-independent files here.
46binary-indep: build install
47        dh_testdir
48        dh_testroot
49        dh_installchangelogs
50        dh_installdebconf
51#       dh_installdocs
52#       dh_installexamples
53        dh_installmenu
54#       dh_installlogrotate
55#       dh_installemacsen
56#       dh_installpam
57#       dh_installmime
58#       dh_python
59#       dh_installinit
60#       dh_installcron
61#       dh_installinfo
62#       dh_installman
63#       dh_link
64        dh_strip
65        dh_compress
66        dh_fixperms
67#       dh_perl
68        dh_installdeb
69        dh_gencontrol
70        dh_md5sums
71        dh_builddeb
72
73# Build architecture-dependent files here.
74binary-arch: build install
75# We have nothing to do by default.
76
77binary: binary-arch binary-indep
78.PHONY: build clean binary-indep binary-arch binary install  install-indep install-arch
Note: See TracBrowser for help on using the repository browser.