summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2013-11-04 08:46:17 +0000
committerSylvestre Ledru <sylvestre@debian.org>2013-11-04 08:46:17 +0000
commitb2fcf11fd7458205b4b82f640911eef433990b22 (patch)
tree568022eb74408106d422a61f413045b53c95645a
parenta806ba7a5887582626c3dccf998a68b032c9a4a5 (diff)
* Also ship fix_include in iwyu. It applies the changes (Closes: #728590)
* Fix the clean
-rw-r--r--debian/changelog4
-rw-r--r--debian/iwyu.install1
-rw-r--r--debian/iwyu.manpages2
-rwxr-xr-xdebian/rules8
4 files changed, 13 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index a717429..3bb44be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
iwyu (3.3-3) unstable; urgency=low
* Remove the trailing debian/ from debian/control
+ * Also ship fix_include in iwyu. It applies the changes (Closes: #728590)
+ * Fix the clean
- --
+ -- Sylvestre Ledru <sylvestre@debian.org> Mon, 04 Nov 2013 09:02:17 +0100
iwyu (3.3-2) unstable; urgency=low
diff --git a/debian/iwyu.install b/debian/iwyu.install
new file mode 100644
index 0000000..f98d13f
--- /dev/null
+++ b/debian/iwyu.install
@@ -0,0 +1 @@
+iwyu-build/fix_include usr/bin
diff --git a/debian/iwyu.manpages b/debian/iwyu.manpages
index 4317442..c8af29f 100644
--- a/debian/iwyu.manpages
+++ b/debian/iwyu.manpages
@@ -1,2 +1,4 @@
iwyu-build/include-what-you-use.1
iwyu-build/iwyu.1
+iwyu-build/fix_include.1
+
diff --git a/debian/rules b/debian/rules
index f2a8427..e68a8c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,4 +16,10 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build
help2man --version-string "$(VERSION)" -n "Analyze #includes in C and C++ source files" $(TARGET_BUILD)/include-what-you-use > $(TARGET_BUILD)/include-what-you-use.1
- cd $(TARGET_BUILD) && ln -s include-what-you-use.1 iwyu.1
+ cd $(TARGET_BUILD) && ln -s include-what-you-use.1 iwyu.1 && \
+ cp ../fix_includes.py fix_include
+ help2man --version-string "$(VERSION)" -n "Update the source code with iwyu output" $(TARGET_BUILD)/fix_include > $(TARGET_BUILD)/fix_include.1
+
+
+override_dh_auto_clean:
+ rm -rf $(TARGET_BUILD)