Hi, I needed to make the following patches to ufraw in order to use
Debian's dh-autoreconf.  I wanted to be able to build ufraw from source
twice in a row.

Firstly, the "foreign" option was necessary as ufraw does not provide NEWS
and AUTHORS files:

--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@
 # Create host_os, host_cpu variables
 AC_CANONICAL_HOST

-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AC_CONFIG_HEADERS(config.h)
 AC_PROG_CC

Secondly, there were minor changes between mkinstalldirs in ufraw and the
copy included in automake.
This caused dh_autoreconf_clean to detect that mkinstalldirs had changed
and deleted it at the start of the second build.
This may be a bug in dh-autoreconf [1].

--- a/mkinstalldirs
+++ b/mkinstalldirs
@@ -81,9 +81,9 @@
       echo "mkdir -p -- $*"
       exec mkdir -p -- "$@"
     else
-      # On NextStep and OpenStep, the 'mkdir' command does not
+      # On NextStep and OpenStep, the `mkdir' command does not
       # recognize any option.  It will interpret all options as
-      # directories to create, and then abort because '.' already
+      # directories to create, and then abort because `.' already
       # exists.
       test -d ./-p && rmdir ./-p
       test -d ./--version && rmdir ./--version


Regards
Graham


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670796
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
ufraw-devel mailing list
ufraw-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-devel

Reply via email to