Commit a347495a authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Juerg Haefliger
parent 6d88ed7f
......@@ -8,11 +8,10 @@ build-indep:
#
indep_hdrpkg = $(indep_hdrs_pkg_name)
indep_hdrdir = $(CURDIR)/debian/$(indep_hdrpkg)/usr/src/$(indep_hdrpkg)
install-headers:
install-headers: prepare-indep
@echo Debug: $@
dh_testdir
dh_testroot
dh_prep
ifeq ($(do_flavour_header_package),true)
install -d $(indep_hdrdir)
......@@ -30,7 +29,7 @@ endif
docpkg = $(doc_pkg_name)
docdir = $(CURDIR)/debian/$(docpkg)/usr/share/doc/$(docpkg)
install-doc: install-headers
install-doc: prepare-indep
@echo Debug: $@
ifeq ($(do_doc_package),true)
dh_testdir
......@@ -57,7 +56,7 @@ endif
srcpkg = linux-source-$(release)
srcdir = $(CURDIR)/debian/$(srcpkg)/usr/src/$(srcpkg)
balldir = $(CURDIR)/debian/$(srcpkg)/usr/src/$(srcpkg)/$(srcpkg)
install-source: install-doc
install-source: prepare-indep
@echo Debug: $@
ifeq ($(do_source_package),true)
......@@ -93,7 +92,7 @@ install-tools: cloudpkg = $(cloud_common_pkg_name)
install-tools: cloudbin = $(CURDIR)/debian/$(cloudpkg)/usr/bin
install-tools: cloudsbin = $(CURDIR)/debian/$(cloudpkg)/usr/sbin
install-tools: cloudman = $(CURDIR)/debian/$(cloudpkg)/usr/share/man
install-tools: install-source $(stampdir)/stamp-build-perarch
install-tools: prepare-indep $(stampdir)/stamp-build-perarch
@echo Debug: $@
ifeq ($(do_tools_common),true)
......@@ -163,12 +162,16 @@ ifeq ($(do_tools_host),true)
$(hosttoolsman)/man1
endif
install-indep: install-tools
prepare-indep:
@echo Debug: $@
dh_prep -i
install-indep: install-headers install-doc install-source install-tools
@echo Debug: $@
# This is just to make it easy to call manually. Normally done in
# binary-indep target during builds.
binary-headers: install-headers
binary-headers: prepare-indep install-headers
@echo Debug: $@
dh_installchangelogs -p$(indep_hdrpkg)
dh_installdocs -p$(indep_hdrpkg)
......@@ -182,7 +185,6 @@ binary-headers: install-headers
binary-indep: cloudpkg = $(cloud_common_pkg_name)
binary-indep: install-indep
@echo Debug: $@
dh_installchangelogs -i
dh_installdocs -i
dh_compress -i
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment