author | Paul Crowley <paul@lshift.net> |
Tue, 13 Oct 2009 18:32:26 +0100 | |
branch | debian |
changeset 118 | 107906bfe2c6 |
parent 116 | d99f3169828a |
child 172 | 5dd3698fad54 |
permissions | -rwxr-xr-x |
97 | 1 |
#!/usr/bin/make -f |
2 |
# -*- makefile -*- |
|
3 |
# Sample debian/rules that uses debhelper. |
|
4 |
# This file was originally written by Joey Hess and Craig Small. |
|
5 |
# As a special exception, when this file is copied by dh-make into a |
|
6 |
# dh-make output file, you may use that output file without restriction. |
|
7 |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
|
8 |
||
9 |
# Uncomment this to turn on verbose mode. |
|
10 |
#export DH_VERBOSE=1 |
|
11 |
||
12 |
configure: configure-stamp |
|
13 |
configure-stamp: |
|
14 |
dh_testdir |
|
15 |
# Add here commands to configure the package. |
|
16 |
||
17 |
touch configure-stamp |
|
18 |
||
19 |
||
20 |
build: build-stamp |
|
21 |
||
22 |
build-stamp: configure-stamp |
|
23 |
dh_testdir |
|
24 |
||
25 |
# Add here commands to compile the package. |
|
26 |
#docbook-to-man debian/mercurial-server.sgml > mercurial-server.1 |
|
27 |
||
28 |
touch $@ |
|
29 |
||
30 |
clean: |
|
31 |
dh_testdir |
|
32 |
dh_testroot |
|
33 |
rm -f build-stamp configure-stamp |
|
34 |
||
35 |
# Add here commands to clean up after the build process. |
|
36 |
||
37 |
dh_clean |
|
38 |
||
39 |
install: build |
|
40 |
dh_testdir |
|
41 |
dh_testroot |
|
42 |
dh_clean -k |
|
43 |
dh_installdirs |
|
44 |
||
45 |
# Add here commands to install the package into debian/mercurial-server. |
|
116
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
46 |
cp \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
47 |
src/hg-ssh \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
48 |
src/refresh-auth \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
49 |
debian/mercurial-server/usr/share/mercurial-server |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
50 |
cp \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
51 |
src/mercurialserver/__init__.py \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
52 |
src/mercurialserver/paths.py \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
53 |
src/mercurialserver/changes.py \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
54 |
src/mercurialserver/access.py \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
55 |
src/mercurialserver/servelog.py \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
56 |
src/mercurialserver/refreshauth.py \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
57 |
src/mercurialserver/ruleset.py \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
58 |
debian/mercurial-server/usr/share/mercurial-server/mercurialserver |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
59 |
cp \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
60 |
src/init/hginit \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
61 |
src/init/hgadmin-hgrc \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
62 |
debian/mercurial-server/usr/share/mercurial-server/init |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
63 |
cp \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
64 |
src/init/conf/remote-hgrc \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
65 |
src/init/conf/access.conf \ |
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
66 |
debian/mercurial-server/etc/mercurial-server |
97 | 67 |
|
68 |
# Build architecture-independent files here. |
|
69 |
binary-indep: build install |
|
70 |
# We have nothing to do by default. |
|
71 |
||
72 |
# Build architecture-dependent files here. |
|
73 |
binary-arch: build install |
|
74 |
dh_testdir |
|
75 |
dh_testroot |
|
116
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
76 |
# dh_installchangelogs |
97 | 77 |
dh_installdocs |
116
d99f3169828a
Looks like the start of a working Debianization
Paul Crowley <paul@lshift.net>
parents:
99
diff
changeset
|
78 |
# dh_installexamples |
97 | 79 |
# dh_install |
80 |
# dh_installmenu |
|
81 |
# dh_installdebconf |
|
82 |
# dh_installlogrotate |
|
83 |
# dh_installemacsen |
|
84 |
# dh_installpam |
|
85 |
# dh_installmime |
|
86 |
# dh_python |
|
87 |
# dh_installinit |
|
88 |
# dh_installcron |
|
89 |
# dh_installinfo |
|
99
e99262dfa950
Don't know if I'm making progress here
Paul Crowley <paul@lshift.net>
parents:
97
diff
changeset
|
90 |
# dh_installman |
e99262dfa950
Don't know if I'm making progress here
Paul Crowley <paul@lshift.net>
parents:
97
diff
changeset
|
91 |
# dh_link |
e99262dfa950
Don't know if I'm making progress here
Paul Crowley <paul@lshift.net>
parents:
97
diff
changeset
|
92 |
# dh_strip |
e99262dfa950
Don't know if I'm making progress here
Paul Crowley <paul@lshift.net>
parents:
97
diff
changeset
|
93 |
# dh_compress |
97 | 94 |
dh_fixperms |
95 |
# dh_perl |
|
96 |
# dh_makeshlibs |
|
97 |
dh_installdeb |
|
99
e99262dfa950
Don't know if I'm making progress here
Paul Crowley <paul@lshift.net>
parents:
97
diff
changeset
|
98 |
# dh_shlibdeps |
97 | 99 |
dh_gencontrol |
100 |
dh_md5sums |
|
101 |
dh_builddeb |
|
102 |
||
103 |
binary: binary-indep binary-arch |
|
104 |
.PHONY: build clean binary-indep binary-arch binary install configure |