[Nut-upsdev] windows_port NUT branch

Paul Fertser fercerpav at gmail.com
Mon Dec 20 15:32:14 UTC 2010


On Mon, Dec 20, 2010 at 05:53:29PM +0300, Paul Fertser wrote:
> and everything seems to work (i've to admit nut.exe didn't get built
> for whatever obscure autoconf reason while halt.exe compiled all
> right).

From: Paul Fertser <fercerpav at gmail.com>
Date: Mon, 20 Dec 2010 18:28:34 +0300
Subject: [PATCH] (Semi-)properly specify dependencies for nut.exe

EXTRA_nut_DEPENDENCIES would be even better alas Debian testing's
automake is too old.
---
 scripts/Windows/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/Windows/Makefile.am b/scripts/Windows/Makefile.am
index b2d70f1..a1e4b81 100644
--- a/scripts/Windows/Makefile.am
+++ b/scripts/Windows/Makefile.am
@@ -20,9 +20,9 @@ winevent.dll: winevent.o
 
 bin_PROGRAMS = nut halt
 
-nut$(EXEEXT): winevent.dll
 nut_SOURCES = wininit.c
 nut_LDADD = ../../common/libcommon.la
+nut_DEPENDENCIES = winevent.dll $(nut_LDADD)
 
 halt_SOURCES = halt.c
 
-- 
1.5.6.5

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com



More information about the Nut-upsdev mailing list