debian/rules
author Paul Crowley <paul@lshift.net>
Wed, 11 Nov 2009 14:41:30 +0000
branchdebian
changeset 204 d46ef29ab17a
parent 189 56910e62871a
child 233 60c2d676a754
permissions -rwxr-xr-x
Merge in makefile changes, update to DESTDIR
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