debian/rules
author Cédric Krier <ced@b2ck.com>
Mon, 11 Sep 2017 21:38:10 +0200
changeset 375 a41e4382ea6e
parent 363 2eb6c8083edd
permissions -rwxr-xr-x
Use repo vfs to join the server log The method join on repo has been removed in changeset edb7f628ef8b of mercurial.
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
%:
363
2eb6c8083edd Tell dh to use python2
Paul Crowley <paul@lshift.net>
parents: 360
diff changeset
     3
	dh --with python2 $@
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
360
3b4e568ded2c Use dh_python2 as per http://wiki.debian.org/Python/TransitionToDHPython2
Paul Crowley <paul@lshift.net>
parents: 233
diff changeset
    10
override_dh_python2:
3b4e568ded2c Use dh_python2 as per http://wiki.debian.org/Python/TransitionToDHPython2
Paul Crowley <paul@lshift.net>
parents: 233
diff changeset
    11
	dh_python2 /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