[closure-compiler] 03/10: simplify manpage generation

Tony Mancill tmancill at moszumanska.debian.org
Tue Apr 22 06:11:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository closure-compiler.

commit 39c86b53c00c0ba5d1e33b460522b9af5bbb73e1
Author: tony mancill <tmancill at debian.org>
Date:   Thu Apr 17 22:30:44 2014 -0700

    simplify manpage generation
---
 debian/rules | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4b7d74d..3e78bd8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,23 +22,29 @@ RST2MAN = rst2man
 	dh $@ --with maven_repo_helper,javahelper
 
 
-.PHONY: clean
-clean:
-	dh $@
-	$(RM) -r ${GENERATED_FILES}
+#.PHONY: clean
+#clean:
+#	dh $@
+#	$(RM) -r ${GENERATED_FILES}
 
 
-.PHONY: build
-build: ${manpages}
+#.PHONY: build
+#build: ${manpages}
 
-%.1: %.1${RST_SUFFIX}
-	$(RST2MAN) $< > $@${TEMPFILE_SUFFIX}
-	cat debian/manpage_encoding_declaration.UTF-8 $@${TEMPFILE_SUFFIX} > $@
+#%.1: %.1${RST_SUFFIX}
+#	$(RST2MAN) $< > $@${TEMPFILE_SUFFIX}
+#	cat debian/manpage_encoding_declaration.UTF-8 $@${TEMPFILE_SUFFIX} > $@
 
 
 override_dh_auto_build:
 	ant -propertyfile debian/ant.properties jar-nodeps javadoc
 
+	# build the manpage
+	#$(RST2MAN) $< > $@${TEMPFILE_SUFFIX}
+	#cat debian/manpage_encoding_declaration.UTF-8 $@${TEMPFILE_SUFFIX} > $@
+	rst2man debian/closure-compiler.1.txt > debian/closure-compiler.1.tmp
+	cat debian/manpage_encoding_declaration.UTF-8 debian/closure-compiler.1.tmp > debian/closure-compiler.1
+
 override_dh_auto_test:
 #	ant test
 
@@ -46,3 +52,4 @@ override_dh_auto_clean:
 	dh_testdir
 	ant clean
 	rm -rf gen
+	$(RM) -rf ${GENERATED_FILES}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/closure-compiler.git



More information about the pkg-java-commits mailing list