From: Simon Josefsson Date: Sat, 19 Nov 2011 14:30:47 +0000 (+0100) Subject: build: Don't hard code path to perl in doc/gdoc. X-Git-Tag: upstream/4.0~311 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec1c7c459f8538831198d7fc1540e34e94cdd824;p=platform%2Fupstream%2Flibtasn1.git build: Don't hard code path to perl in doc/gdoc. --- diff --git a/NEWS b/NEWS index 97d5f7b..bc373e5 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ GNU Libtasn1 NEWS -*- outline -*- * Noteworthy changes in release 2.11 (????-??-??) [stable] - tests: Added self-test of bit string functions. - build: Added windows/libtasn14win.mk rules to produce Windows binaries. +- build: Don't hard code path to perl in doc/gdoc. * Noteworthy changes in release 2.10 (2011-10-25) [stable] - lib: Small optimization, possibly working around gcc/valgrind issue. diff --git a/doc/gdoc b/doc/gdoc index 82d9e0a..975a85d 100755 --- a/doc/gdoc +++ b/doc/gdoc @@ -1,6 +1,9 @@ -#!/usr/bin/perl +eval '(exit $?0)' && eval 'exec perl -S "$0" ${1+"$@"}' + & eval 'exec perl -S "$0" $argv:q' + if 0; +# Generate documentation from source code. -## Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson +## Copyright (c) 2002-2011 Simon Josefsson ## added -texinfo, -listfunc, -pkg-name ## man page revamp ## various improvements