tag 496652 patch 

Hello,

I have made a patch to solve the problem with the messages
of "autodia --help" and "man autodia", now it looks like:


AutoDia - Automatic Dia XML. Copyright 2001 A Trevena

usage:
autodia ([-i filename [-p path] ] or  [-d directory [-r] ]) [options]
autodia -i filename            : use filename as input
autodia -i "filea fileb filec" : use filea, fileb and filec as input
autodia -i filename -p ..      : use ../filename as input file
autodia -d directoryname       : use *.pl/pm in directoryname as input
......
......


I have made some changes in debian/rules, to modify 
autodia.pl and autodia_java.pl before build the source package,
the man pages are generated from these scripts too.
I make a temporal copy of the original files and after the build, I
restore the original files.

I attach the patch.
I hope you find useful, please take a look at it, and apply it if 
you agree with it.

Regards,
Francisco.


-- 
Francisco M. García Claramonte <[EMAIL PROTECTED]>
GPG: public key ID 556ABA51
diff -uNr autodia-2.03.orig/debian/rules autodia-2.03/debian/rules
--- autodia-2.03.orig/debian/rules	2008-12-08 11:14:10.000000000 +0100
+++ autodia-2.03/debian/rules	2008-12-07 20:11:55.000000000 +0100
@@ -27,15 +27,23 @@
 	dh_testdir
 
 	
+	mkdir -p tmp
+	cp -p autodia.pl tmp
+	cp -p autodia_java.pl tmp
+	sed -i -e 's/autodia.pl/autodia/' autodia.pl
+	sed -i -e 's/autodia.pl/autodia/' autodia_java.pl
 	# Add here commands to compile the package.
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-
+	cp -p tmp/autodia.pl autodia.pl
+	cp -p tmp/autodia_java.pl autodia_java.pl
 	touch build-stamp
 
+
 clean:
 	dh_testdir
 	dh_testroot
+	rm -rf tmp
 	rm -f build-stamp
 
 	# Add here commands to clean up after the build process.

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

Reply via email to