rules 1008 Bytes
Newer Older
anarcat's avatar
anarcat committed
1 2 3 4 5 6
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

anarcat's avatar
anarcat committed
7
%:
8
	dh $@
anarcat's avatar
anarcat committed
9

anarcat's avatar
anarcat committed
10
override_dh_install:
11
	cp -r "$(CURDIR)/db/" "$(CURDIR)/http/" "$(CURDIR)/"*.make "$(CURDIR)/platform/" "$(CURDIR)/Provision/" "$(CURDIR)/Symfony/" "$(CURDIR)"/*.inc "$(CURDIR)"/*.php "$(CURDIR)"/*.info "$(CURDIR)/debian/aegir3-provision/usr/share/drush/commands/provision/"
12

13
	# We need this nasty hack, because we added directories.
14
	# TODO: this is really lame, there must be a better way to do this?
15 16
	if [ -d "$(CURDIR)/provision-tests" ]; then cp -r "$(CURDIR)/provision-tests/" "$(CURDIR)/debian/aegir3-provision/usr/share/drush/commands/provision/"; fi
	if [ -d "$(CURDIR)/subdirs" ]; then cp -r "$(CURDIR)/subdirs/" "$(CURDIR)/debian/aegir3-provision/usr/share/drush/commands/provision/"; fi
17

18
	cp "$(CURDIR)/debian/aegir3-provision.lintian" "$(CURDIR)/debian/aegir3-provision/usr/share/lintian/overrides/aegir3-provision"
anarcat's avatar
anarcat committed
19

20
override_dh_installinit:
21 22
	dh_installinit --name=hosting-queued

23