debian/rules
author Paul Crowley <paul@lshift.net>
Sat, 18 Dec 2010 15:26:09 +0000
branchdebian
changeset 290 199952d928e0
parent 233 60c2d676a754
child 360 3b4e568ded2c
permissions -rw-r--r--
Reproduce bug 604123
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
97
7953788881a4 Start work on Debianization
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
#!/usr/bin/make -f
189
56910e62871a Use dh(1) for very short debian/rules.
Paul Crowley <paul@lshift.net>
parents: 188
diff changeset
     2
%:
56910e62871a Use dh(1) for very short debian/rules.
Paul Crowley <paul@lshift.net>
parents: 188
diff changeset
     3
	dh $@
97
7953788881a4 Start work on Debianization
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
189
56910e62871a Use dh(1) for very short debian/rules.
Paul Crowley <paul@lshift.net>
parents: 188
diff changeset
     5
override_dh_auto_install:
172
5dd3698fad54 Adapt Debian stuff to new build process
Paul Crowley <paul@lshift.net>
parents: 116
diff changeset
     6
	$(MAKE) installfiles \
204
d46ef29ab17a Merge in makefile changes, update to DESTDIR
Paul Crowley <paul@lshift.net>
parents: 189
diff changeset
     7
	    DESTDIR=./debian/mercurial-server/ \
d46ef29ab17a Merge in makefile changes, update to DESTDIR
Paul Crowley <paul@lshift.net>
parents: 189
diff changeset
     8
	    PREFIX=/usr/share
97
7953788881a4 Start work on Debianization
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     9
189
56910e62871a Use dh(1) for very short debian/rules.
Paul Crowley <paul@lshift.net>
parents: 188
diff changeset
    10
override_dh_pysupport:
176
0fb538c48073 use dh_pysupport
Paul Crowley <paul@lshift.net>
parents: 172
diff changeset
    11
	dh_pysupport /usr/share/mercurial-server/mercurialserver
97
7953788881a4 Start work on Debianization
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    12
233
60c2d676a754 Install NEWS
Paul Crowley <paul@lshift.net>
parents: 204
diff changeset
    13
override_dh_installchangelogs:
60c2d676a754 Install NEWS
Paul Crowley <paul@lshift.net>
parents: 204
diff changeset
    14
	dh_installchangelogs NEWS
60c2d676a754 Install NEWS
Paul Crowley <paul@lshift.net>
parents: 204
diff changeset
    15