debian/rules
author Mahlon E. Smith <mahlon@martini.nu>
Wed, 31 Oct 2018 13:22:13 -0700
changeset 378 a788cfad4cfa
parent 363 2eb6c8083edd
permissions -rwxr-xr-x
Merge 7a1d6b228af6
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